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

[whatwg] Fullscreen revision I

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 24 Oct 2011 19:38:48 +0900
Message-ID: <op.v3uqiygg64w2qv@annevk-macbookpro.local>
On Fri, 21 Oct 2011 06:44:05 +0900, Chris Pearce <cpearce at mozilla.com>  
wrote:
> On 21/10/2011 4:10 a.m., Glenn Maynard wrote:
>> The current spec doesn't seem to allow asking permission to fullscreen  
>> in advance, since the fullscreen element is set synchronously.  This  
>> should be supported; there are a lot of potential problems with the  
>> ask-after model and it shouldn't be the only model supported.
>
> I agree, the spec should definitely allow this. We could make  
> requestFullScreen()'s entire body run in a synchronous section, after  
> any permission has been granted?

Why should we allow this if nobody intents on implementing it?


> However, if we do end up not having requestFullscreen() while fullscreen  
> swap the fullscreen element, then we need to ensure  
> document.fullscreenEnabled returns false while any document is  
> fullscreen. Otherwise <video> controls won't know to hide their  
> (non-functioning) fullscreen buttons while their  
> document/parent/ancestor documents are fullscreen.

I made this change for now to keep the initial version simple.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Monday, 24 October 2011 03:38:48 UTC

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