Skip to content

Commit dbde8fa

Browse files
authored
[css-forms-1] Add new pseudo-elements for customizable select (#10986)
1 parent 2c6c996 commit dbde8fa

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

css-forms-1/Overview.bs

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,33 @@ Styling form control pickers: the ''::picker()'' pseudo-element</h3>
5555
&lt;/style>
5656
</pre>
5757

58+
<h3 id="picker-icon">
59+
Picker opener icon: the ''::picker-icon'' pseudo-element</h3>
60+
61+
The ''::picker-icon'' pseudo-element is only generated when the
62+
<a>originating element</a> has <a>base appearance</a> and opens a picker.
63+
64+
''::picker-icon'' is a [=tree-abiding pseudo-element=]. It accepts all
65+
properties. It inherits from its [=originating element=].
66+
67+
''::picker-icon'' generates a box as if it was an child of its
68+
<a>originating element</a>, after any boxes generated by the ''::after''
69+
pseudo-element, with content as specified by 'content'.
70+
71+
<h3 id="checkmark">
72+
Checkmark icon: the ''::checkmark'' pseudo-element</h3>
73+
74+
The '::checkmark'' pseudo-element is only generated when the <a>originating
75+
element</a> supports the <a>:checked</a> pseudo-class and either has <a>base
76+
appearance</a> or an ancestor with <a>base appearance</a>.
77+
78+
''::checkmark'' is a [=tree-abiding pseudo-element=]. It accepts all properties.
79+
It inherits from its [=originating element=].
80+
81+
''::checkmark'' generates a box as if it was an child of its <a>originating
82+
element</a>, preceding any boxes generated by the ''::before''
83+
pseudo-element, with content as specified by 'content'.
84+
5885

5986
Basic Styling Proposals {#ideas}
6087
================================

0 commit comments

Comments
 (0)