- From: Philip Jägenstedt <notifications@github.com>
- Date: Wed, 23 May 2018 08:16:13 -0700
- To: whatwg/fullscreen <fullscreen@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 23 May 2018 15:16:38 UTC
foolip commented on this pull request.
> @@ -396,6 +396,15 @@ 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 connected:
+ <ol>
+ <li><p><a for=set>Append</a> (<code>fullscreenchange</code>, <var>doc</var>'s
+ <a>fullscreen element</a>) to <var>doc</var>'s
+ <a>list of pending fullscreen events</a>.
+
+ <li><p><a lt="unfullscreen a document">Unfullscreen <var>doc</var></a>.
`document.fullscreenElement` would change synchronously, because the element would be removed from top layer right after this code runs and before the `element.remove()` call returns.
--
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#discussion_r190288223
Received on Wednesday, 23 May 2018 15:16:38 UTC