Skip to content

Commit

Permalink
fix dialog topmost popover ancestor calls
Browse files Browse the repository at this point in the history
  • Loading branch information
josepharhar committed Apr 19, 2024
1 parent d679ce9 commit 7848e39
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -61347,11 +61347,18 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
<li><p>Set <span>this</span>'s <span>previously focused element</span> to the
<span>focused</span> element.</p></li>

<li><p>Let <var>document</var> be <span>this</span>'s <span>node document</span>.</p></li>

<li><p>Let <var>hideUntil</var> be the result of running <span>topmost popover ancestor</span>
given <span>this</span>, null, and false.</p></li>
given <span>this</span>, <var>document</var>'s <span>showing hint popover list</span>, null, and
false.</p></li>

<li><p>If <var>hideUntil</var> is null, then set <var>hideUntil</var> to <span>this</span>'s
<span>node document</span>.</p></li>
<li><p>If <var>hideUntil</var> is null, then set <var>hideUntil</var> to the result of running
<span>topmost popover ancestor</span> given <span>this</span>, <var>document</var>'s
<span>showing auto popover list</span>, null, and false.</p></li>

<li><p>If <var>hideUntil</var> is null, then set <var>hideUntil</var> to
<var>document</var>.</p></li>

<li><p>Run <span data-x="hide-all-popovers-until">hide all popovers until</span> given
<var>hideUntil</var>, false, and true.</p></li>
Expand Down Expand Up @@ -61416,11 +61423,18 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
<li><p>Set <span>this</span>'s <span>previously focused element</span> to the
<span>focused</span> element.</p></li>

<li><p>Let <var>document</var> be <span>this</span>'s <span>node document</span>.</p></li>

<li><p>Let <var>hideUntil</var> be the result of running <span>topmost popover ancestor</span>
given <span>this</span>, null, and false.</p></li>
given <span>this</span>, <var>document</var>'s <span>showing hint popover list</span>, null, and
false.</p></li>

<li><p>If <var>hideUntil</var> is null, then set <var>hideUntil</var> to <span>this</span>'s
<span>node document</span>.</p></li>
<li><p>If <var>hideUntil</var> is null, then set <var>hideUntil</var> to the result of running
<span>topmost popover ancestor</span> given <span>this</span>, <var>document</var>'s
<span>showing auto popover list</span>, null, and false.</p></li>

<li><p>If <var>hideUntil</var> is null, then set <var>hideUntil</var> to
<var>document</var>.</p></li>

<li><p>Run <span data-x="hide-all-popovers-until">hide all popovers until</span> given
<var>hideUntil</var>, false, and true.</p></li>
Expand Down

0 comments on commit 7848e39

Please sign in to comment.