8000 [css-forms-1] Add new pseudo-elements for customizable select by josepharhar · Pull Request #10986 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions css-forms-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,33 @@ Styling form control pickers: the ''::picker()'' pseudo-element</h3>
&lt;/style>
</pre>

<h3 id="picker-icon">
Picker opener icon: the ''::picker-icon'' pseudo-element</h3>

The ''::picker-icon'' pseudo-element is only generated when the
<a>originating element</a> has <a>base appearance</a> and opens a picker.

''::picker-icon'' is a [=tree-abiding pseudo-element=]. It accepts all
properties. It inherits from its [=originating element=].

''::picker-icon'' generates a box as if it was an child of its
<a>originating element</a>, after any boxes generated by the ''::after''
pseudo-element, with content as specified by 'content'.

<h3 id="checkmark">
Checkmark icon: the ''::checkmark'' pseudo-element</h3>

The '::checkmark'' pseudo-element is only generated when the <a>originating
element</a> supports the <a>:checked</a> pseudo-class and either has <a>base
appearance</a> or an ancestor with <a>base appearance</a>.

''::checkmark'' is a [=tree-abiding pseudo-element=]. It accepts all properties.
It inherits from its [=originating element=].

''::checkmark'' generates a box as if it was an child of its <a>originating
element</a>, preceding any boxes generated by the ''::before''
pseudo-element, with content as specified by 'content'.


Basic Styling Proposals {#ideas}
================================
Expand Down
2 changes: 1 addition & 1 deletion css-pseudo-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2053,4 +2053,4 @@ Acknowledgements</h2>
get-computed-style-crash.html
svg-text-selection-002.html
text-selection.html
</wpt>
</wpt>
0