You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This includes two related changes:
1. The showPopover() and togglePopover() methods now include an options bag that allows setting the popover source.
2. Popover sources (declaratively or imperatively set) now create an implicit anchor reference for that popover.
See discussion in whatwg#9144 (comment). Closeswhatwg#10442. Closeswhatwg#10675.
<li><dfn data-x-href="https://drafts.csswg.org/css-contain/#propdef-content-visibility" data-x="content-visibility-auto">'auto'</dfn> value for <span>'content-visibility'</span></li>
4194
4194
</ul>
4195
+
4196
+
<p>The following terms are defined in <cite>CSS Anchor Positioning</cite>: <ref>CSSANCHOR</ref></p>
<li><p>Let <var>invoker</var> be <var>options</var>["<code
85883
+
data-x="dom-ShowPopoverOptions-source">source</code>"] if it <span data-x="map
85884
+
exists">exists</span>; otherwise, null.</p></li>
85885
+
85845
85886
<li><p>If <span>this</span>'s <span>popover visibility state</span> is <span
85846
-
data-x="popover-showing-state">showing</span>, and <var>force</var> is not present or false, then
85847
-
run the <span>hide popover algorithm</span> given <span>this</span>, true, true, and
85848
-
true.</p></li>
85887
+
data-x="popover-showing-state">showing</span>, and <var>force</var> is null or false, then run
85888
+
the <span>hide popover algorithm</span> given <span>this</span>, true, true, and true.</p></li>
85849
85889
85850
-
<li><p>Otherwise, if <var>force</var> is not present or true, then run <span>show popover</span>
85851
-
given <span>this</span>, true, and null.</p></li>
85890
+
<li><p>Otherwise, if <var>force</var> is null or true, then run <span>show popover</span> given
85891
+
<span>this</span>, true, and <var>invoker</var>.</p></li>
85852
85892
85853
85893
<li>
85854
85894
<p>Otherwise:</p>
@@ -144542,6 +144582,9 @@ INSERT INTERFACES HERE
144542
144582
<dt id="refsCSSALIGN">[CSSALIGN]</dt>
144543
144583
<dd><cite><a href="https://w3c.github.io/csswg-drafts/css-align/">CSS Box Alignment</a></cite>, E. Etemad, T. Atkins. W3C.</dd>
144544
144584
144585
+
<dt id="refsCSSANCHOR">[CSSANCHOR]</dt>
144586
+
<dd><cite><a href="https://drafts.csswg.org/css-anchor-position/">CSS Anchor Positioning</a></cite>, T. Atkins, E. Etemad, I. Kilpatrick. W3C.</dd>
144587
+
144545
144588
<dt id="refsCSSANIMATIONS">[CSSANIMATIONS]</dt>
144546
144589
<dd><cite><a href="https://w3c.github.io/csswg-drafts/css-animations/">CSS Animations</a></cite>, D. Jackson, D. Hyatt, C. Marrin, S. Galineau, L. Baron. W3C.</dd>
0 commit comments