[whatwg] Stacked Fullscreen

Robert O'Callahan robert at ocallahan.org
Wed Nov 16 12:26:34 PST 2011


On Thu, Nov 17, 2011 at 3:41 AM, Anne van Kesteren <annevk at opera.com> wrote:

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

Thanks!

Rob
-- 
"If we claim to be without sin, we deceive ourselves and the truth is not
in us. If we confess our sins, he is faithful and just and will forgive us
our sins and purify us from all unrighteousness. If we claim we have not
sinned, we make him out to be a liar and his word is not in us." [1 John
1:8-10]



More information about the whatwg mailing list