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

Adam Barth w3c at adambarth.com
Tue Jul 31 23:47:58 PDT 2012


On Tue, Jul 31, 2012 at 10:24 PM, Robert O'Callahan
<robert at ocallahan.org> wrote:
> 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
> unspecified.

Even if we don't use the iframe at sandbox syntax, it might be worth
re-using the spec machinery because it's good at solving problems like
the above.

Adam



More information about the whatwg mailing list