[whatwg] allowfullscreen vs sandbox="allow-fullscreen", and mimicking for pointer lock

Robert O'Callahan robert at ocallahan.org
Tue Jul 31 22:24:57 PDT 2012

On Wed, Aug 1, 2012 at 10:33 AM, Adam Barth <w3c at adambarth.com> wrote:

> It's not clear to me from the spec how the allowfullscreen attribute
> works.  It appears to be mentioned only in the security and privacy
> considerations section.  For example, suppose I have three frames:
> Main frame: a.html
>   -> <iframe src="b.html">
>     -> <iframe src="c.html" allowfullscreen>
> Can c.html go full screen?  Where is that specified?

The intent is that no, it can't. You're right that this is currently

“You have heard that it was said, ‘Love your neighbor and hate your enemy.’
But I tell you, love your enemies and pray for those who persecute you,
that you may be children of your Father in heaven. ... If you love those
who love you, what reward will you get? Are not even the tax collectors
doing that? And if you greet only your own people, what are you doing more
than others?" [Matthew 5:43-47]

More information about the whatwg mailing list