Skip to content

[css-forms-1] Explicitly restrict new pseudo-elements to basic appearance mode #12364

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

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

Conversation

lukewarlow
Copy link
Member

@lukewarlow lukewarlow commented Jun 18, 2025

Except for ::placeholder and ::file-selector-button which are allowed in other appearance modes for compatability.

See #12365

@lukewarlow lukewarlow requested a review from nt1m June 18, 2025 19:17
…ance

Except for `::placeholder` and `::file-selector-button` which are allowed in other appearance modes for compatability.
@lukewarlow lukewarlow force-pushed the expose-in-basic-mode branch from 2f08a43 to 2411e2e Compare June 18, 2025 19:18
<dt><dfn>::field-text</dfn>
<dd>
The ''::field-text'' pseudo-element represents
the portion of the <{input}> that contains the editable text.

It is only generated when the [=originating element=] has [=basic appearance=].

<dt><dfn>::clear-icon</dfn>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's existing mention of With ''appearance: textfield'', the user agent must not generate this part. which contradicts restricting it to just basic appearance mode?

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.

1 participant