Re: [whatwg/fullscreen] Remove nodes from top layer as part of the removing steps (#102)

dtapuska commented on this pull request.



>  
  <li><p>Let <var>exitDocs</var> be the result of
  <a lt="collect documents to unfullscreen">collecting documents to unfullscreen</a> given
- <var>doc</var>.
+ <var>pendingDoc</var>.

So I'm new to all of this @upsuper does your proposed change cause the fullscreenchange events to fire before the viewport is resized. Because as I understand it the fullscreenchange will be delivered at the rAF time.  In the enter and exit implementations the fullscreenchange happens after the viewport has been resized.

Would it make sense to add a step in the exit fullscreen that indicated if the fullscreen element is not connected then Unfullscreen it immediately (say after step 4)?


-- 
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/102#discussion_r188441299

Received on Tuesday, 15 May 2018 21:25:18 UTC