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

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