Re: [whatwg/fullscreen] Remove from top layer synchronously for not connected elements (#128)

foolip approved this pull request.

Yes, this is the one! :)

@upsuper?

> @@ -396,6 +405,13 @@ could be an open <{dialog}> element.
  <a>simple fullscreen document</a>, then set <var>doc</var> to <var>topLevelDoc</var> and
  <var>resize</var> to true.
 
+ <li><p>If <var>doc</var>'s <a>fullscreen element</a> is not <a>connected</a>:
+  <ol>
+   <li><p><a for=set>Append</a> (<code>fullscreenchange</code>, <var>doc</var>'s

Hmm, I realized one little wrinkle. We should probably call "unfullscreen an element" on the fullscreen element, so that the fullscreen flags are unset. Otherwise we'll be in a weird state where https://fullscreen.spec.whatwg.org/#css-pc-fullscreen continues to match.

That will mean that the other added "remove node from document’s top layer" will *only* clean up things other than fullscreen. That'll just have to be OK I think.

-- 
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/128#pullrequestreview-122761763

Received on Wednesday, 23 May 2018 20:51:19 UTC