@@ -2632,6 +2632,23 @@ Collapse State: the '':open'' pseudo-class</h3>
2632
2632
Note: A ":closed" pseudo-class might be added in the future
2633
2633
once the full set of things that support '':open'' is known.
2634
2634
2635
+ <h3 id="popover-open-state">
2636
+ Popover State: the '':popover-open'' pseudo-class</h3>
2637
+
2638
+ The <dfn>:popover-open</dfn> pseudo-class represents an element
2639
+ that has both “popover-showing” and “popover-hidden” states
2640
+ and which is currently in the “popover-showing” state.
2641
+
2642
+ Note: This is distinct from '':open'' because
2643
+ an element can have element-specific open and closed states
2644
+ and also have separate popover-showing and popover-hidden states
2645
+ associated with being a popover.
2646
+
2647
+ Exactly what “popover-showing” and “popover-hidden” states
2648
+ mean is host-language specific,
2649
+ but is exemplified by the presence of the HTML <{html-global/popover}> attribute
2650
+ and the associated <a>popover visibility state</a> .
2651
+
2635
2652
<h3 id="modal-state">
2636
2653
Modal (Exclusive Interaction) State: the '':modal'' pseudo-class</h3>
2637
2654
@@ -4192,8 +4209,11 @@ Changes since the 7 May 2022 Working Draft</h3>
4192
4209
Significant changes since the <a href="https://www.w3.org/TR/2022/WD-selectors-4-20220507/">7 May 2022 Working Draft</a> :
4193
4210
4194
4211
* Marked '':blank'' as at-risk and removed the at-risk status from '':read-write'' and '':has()''
4195
- * Added '':open'' and '':closed'' pseudo-classes.
4196
- (<a href="https://github.com/w3c/csswg-drafts/issues/7319">Issue 7319</a> )
4212
+ * Added '':open'' pseudo-class.
4213
+ (<a href="https://github.com/w3c/csswg-drafts/issues/7319">Issue 7319</a> ,
4214
+ <a href="https://github.com/w3c/csswg-drafts/issues/11039">Issue 11039</a> )
4215
+ * Added '':popover-open'' pseudo-class.
4216
+ (<a href="https://github.com/w3c/csswg-drafts/issues/8637">Issue 8637</a> )
4197
4217
* Disallowed [=pseudo-elements=] from '':has()'' unless explicitly allowed
4198
4218
by the pseudo-element’s definition.
4199
4219
(<a href="https://github.com/w3c/csswg-drafts/issues/7463">Issue 7463</a> )
0 commit comments