Skip to content
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

Add ::check pseudo element #48697

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

This pseudo element is added to allow <option> elements inside
<select> elements to have a standardized and customizable
checkmark icon.

Spec definition:

Option checkmark icon: the '::check' pseudo-element

The '::check' pseudo-element is only generated when the originating
element is a option element which has an ancestor select element
with base appearance.

'::check' is a tree-abiding pseudo-element. It accepts all
properties.
It inherits from its originating element.

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

Defined in:
w3c/csswg-drafts#10986

Bug: 369319576
Change-Id: Ie5058d66f90644f9732bc619a3f587b6203d1cf9

Reviewed-on: https://chromium-review.googlesource.com/5925018
WPT-Export-Revision: 8c6c15821f12dc160260111da647424b9f5d232c

This pseudo element is added to allow <option> elements inside
<select> elements to have a standardized and customizable
checkmark icon.

Spec definition:
```
Option checkmark icon: the '::check' pseudo-element

The '::check' pseudo-element is only generated when the originating
element is a option element which has an ancestor select element
with base appearance.

'::check' is a tree-abiding pseudo-element. It accepts all
properties.
It inherits from its originating element.

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

Defined in:
w3c/csswg-drafts#10986

Bug: 369319576
Change-Id: Ie5058d66f90644f9732bc619a3f587b6203d1cf9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants