[whatwg] Stacked Fullscreen

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