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

[whatwg] Stacked Fullscreen

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 17 Nov 2011 09:26:34 +1300
Message-ID: <CAOp6jLbAFqhTYcMrKfutQhXftZeEQyw3wS+q-si=6RMjKQYkJg@mail.gmail.com>
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]
Received on Wednesday, 16 November 2011 12:26:34 UTC

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