Skip to content

Commit

Permalink
Don't close ancestor popovers when fullscreening
Browse files Browse the repository at this point in the history
Without this patch, the fullscreening an element inside an open popover
will make the fullscreen element display:none.

Issue: whatwg/html#9998
Corresponding HTML PR: whatwg/html#10116
  • Loading branch information
josepharhar committed Jan 31, 2024
1 parent 4cafed1 commit d853b63
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fullscreen.bs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ is an <a>ordered set</a> of (<a>string</a>, <a>element</a>) <a>tuples</a>. It is
<p>To <dfn>fullscreen an <var>element</var></dfn>:

<ol>
<li><p>Run <a>hide all popovers</a> given <var>element</var>'s <a>node document</a>.
<li><p>Let <var>hideUntil</var> be the result of running <a>topmost popover ancestor</a> given
<var>element</var>, null, and false.

<li><p>Run <a>hide all popovers until</a> given <var>hideUntil</var>, false, and true.

<li><p>Set <var>element</var>'s <a>fullscreen flag</a>.

Expand Down

0 comments on commit d853b63

Please sign in to comment.