W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2012

Re: [whatwg] allowfullscreen vs sandbox="allow-fullscreen"

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 5 Dec 2012 05:25:39 +0000 (UTC)
To: Adam Barth <w3c@adambarth.com>
Message-ID: <Pine.LNX.4.64.1212050516570.9975@ps20323.dreamhostps.com>
Cc: whatwg <whatwg@lists.whatwg.org>

On Tue, 31 Jul 2012, Adam Barth 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.

It wasn't specced. Finally got around to fixing that.


> 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?

HTML (if I got it right) says no.


On Tue, 31 Jul 2012, Adam Barth wrote:
> 
> Even if we don't use the iframe@sandbox syntax, it might be worth 
> re-using the spec machinery because it's good at solving problems like 
> the above.

Please do take a look at the patch and see if it does what you think it 
should. Some of the machinery is indeed re-used:

   http://html5.org/tools/web-apps-tracker?from=7563&to=7564

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 5 December 2012 05:26:07 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:50 UTC