File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -2611,16 +2611,12 @@ Sound State: the '':muted'' and '':volume-locked'' pseudo-classes</h3>
2611
2611
Element Display State Pseudo-classes</h2>
2612
2612
2613
2613
<h3 id="open-state">
2614
- Collapse State: the '':open'' and '':closed'' pseudo-class</h3>
2614
+ Collapse State: the '':open'' pseudo-class</h3>
2615
2615
2616
2616
The <dfn>:open</dfn> pseudo-class represents an element
2617
2617
that has both “open” and “closed” states,
2618
2618
and which is currently in the “open” state.
2619
2619
2620
- The <dfn>:closed</dfn> pseudo-class represents an element
2621
- that has both “open” and “closed” states,
2622
- and which is currently in the closed state.
2623
-
2624
2620
Exactly what “open” and “closed” mean is host-language specific,
2625
2621
but exemplified by elements such as
2626
2622
HTML's <{details}> , <{select}> , and <{dialog}> elements,
@@ -2633,6 +2629,9 @@ Collapse State: the '':open'' and '':closed'' pseudo-class</h3>
2633
2629
or belongs to a ''display: none'' subtree)
2634
2630
can still be “open” and will match '':open'' .
2635
2631
2632
+ Note: A ":closed" pseudo-class might be added in the future
2633
+ once the full set of things that support '':open'' is known.
2634
+
2636
2635
<h3 id="modal-state">
2637
2636
Modal (Exclusive Interaction) State: the '':modal'' pseudo-class</h3>
2638
2637
You can’t perform that action at this time.
0 commit comments