Re: [whatwg/fullscreen] Deny request on invisible document (#60)

`document.activeElement` doesn't become null. `focus` and `blur` would be fired when switching between windows, but changing the focus to address bar also triggers `blur`.

If it is not allowed to trigger fullscreen asynchronously, the top level document should always get focused before `requestFullscreen` is called, unless a document from another window requests that.

So should we allow a foreground document to put a background document into fullscreen? Given that window cannot raise itself in general, I don't see how allowing that could be useful.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/pull/60#issuecomment-298585214

Received on Tuesday, 2 May 2017 09:56:54 UTC