Skip to content

Commit 4ae3173

Browse files
authored
Fix assertion in "hide all popovers until"
Prevent an assertion from being hit in "hide all popovers until" by changing the conditions in which hide all popovers until gets called by the hide popover algorithm to use the opened in popover mode instead of looking at the current value of the popover attribute. Fixes #10996.
1 parent a83846a commit 4ae3173

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source

+2-3
Original file line numberDiff line numberDiff line change
@@ -87253,9 +87253,8 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
8725387253
</li>
8725487254

8725587255
<li>
87256-
<p>If <var>element</var>'s <code data-x="attr-popover">popover</code> attribute is in the <span
87257-
data-x="attr-popover-auto-state">auto</span> state or the <span
87258-
data-x="attr-popover-hint-state">hint</span> state, then:</p>
87256+
<p>If <var>element</var>'s <span>opened in popover mode</span> is "<code data-x="">auto</code>"
87257+
or "<code data-x="">hint</code>", then:</p>
8725987258

8726087259
<ol>
8726187260
<li><p>Run <span data-x="hide-all-popovers-until">hide all popovers until</span> given

0 commit comments

Comments
 (0)