Skip to content

[css-forms-1] Add new pseudo-elements for customizable select #10986

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Nov 27, 2024
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>