On Fri, 21 Oct 2011 06:44:05 +0900, Chris Pearce <[email protected]> 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/

Reply via email to