Skip to content

Commit 09ce766

Browse files
authored
Fix dangling fullscreen flag when exiting a disconnected element
Fixes #217
1 parent e0d7472 commit 09ce766

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

fullscreen.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -494,9 +494,11 @@ could be an open <{dialog}> element.
494494

495495
<li><p>If <var>doc</var>'s <a>fullscreen element</a> is not <a>connected</a>:
496496
<ol>
497-
<li><p><a for=set>Append</a> ({{fullscreenchange}}, <var>doc</var>'s
498-
<a>fullscreen element</a>) to <var>doc</var>'s
499-
<a>list of pending fullscreen events</a>.
497+
<li><p><a for=set>Append</a> ({{fullscreenchange}}, <var>doc</var>'s <a>fullscreen element</a>)
498+
to <var>doc</var>'s <a>list of pending fullscreen events</a>.
499+
500+
<li><p><a lt="unfullscreen an element">Unfullscreen</a> <var>doc</var>'s <a>fullscreen
501+
element</a>.
500502
</ol>
501503

502504
<li><p>Return <var>promise</var>, and run the remaining steps <a>in parallel</a>.

0 commit comments

Comments
 (0)