Skip to content

Add support for the ::color-swatch pseudo-element#208

Closed
stevennovaryo wants to merge 10000 commits intoservo:mainfrom
stevennovaryo:input-color-pseudo-element
Closed

Add support for the ::color-swatch pseudo-element#208
stevennovaryo wants to merge 10000 commits intoservo:mainfrom
stevennovaryo:input-color-pseudo-element

Conversation

@stevennovaryo
Copy link
Copy Markdown
Contributor

@stevennovaryo stevennovaryo commented Jun 26, 2025

Define ::color-swatch pseudo element https://drafts.csswg.org/css-forms-1/#color-swatch-pseudo. It represents the element that display the chosen color value of Input type=color. Particularly, ::color-swatch is a pseudo element with a concrete DOM element behind it, and it is defined as lazy pseudo element.

The pseudo element would be public because of no additional requirement specified (e.g. property restriction) and the element is defined in Servo.

Stylo's companion of servo/servo#37427

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.