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

upsuper 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>.

I think the second case is also an issue, that B doesn't get `fullscreenchange` and only A gets that.

I'm wondering whether it is easier to tweak this approach, or to somehow fully exit fullscreen... To fully exit fullscreen for fullscreen element removal, we can just queue an event on all descendant documents, and unfullscreen all of them. That may be easier than reusing exit fullscreen for element removal.

-- 
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_r165297370

Received on Thursday, 1 February 2018 09:26:26 UTC