W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2011

[whatwg] Stacked Fullscreen

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 16 Nov 2011 15:41:03 +0100
Message-ID: <op.v41m2pxd64w2qv@annevk-macbookpro.local>
On Wed, 26 Oct 2011 04:06:28 +0200, Robert O'Callahan  
<robert at ocallahan.org> wrote:
> I'm not comfortable with punting the nested-fullscreen cases. It means  
> that if you have a document with an embedded video with fullscreen  
> controls,
> fullscreening the video works fine when the document is not fullscreen,  
> but if you make the document fullscreen, fullscreening the video just  
> doesn't
> work anymore. That seems broken (especially if native media fullscreen
> controls are implemented this way). Authors can work around it, when
> everything's same-origin, but the workarounds are tricky and require all
> scripts to cooperate.

I implemented your suggestion.

http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html

I have limited it for now to descendants only (either elements (for  
consistency) or browsing contexts (for simplicity)).

Events are also dispatched only on Document now since Document is what you  
need to observe anyway for changes.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Wednesday, 16 November 2011 06:41:03 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:09 UTC