Re: [csswg-drafts] [css-forms-1] Should new pseudo-elements be restricted to base appearance mode? (#12365)

In general I have strong reservations about element-backed pseudo-elements for built-in elements as it tends to expose what-should-be implementations details, such as what element type is being used for backing. Which then can result in duplicate API surface through pseudo-classes and other unfortunate side effects.

For `appearance: auto` specifically probably the ship has sailed for a number of pseudo-elements, but generally it seems better if we all aim for not letting pseudo-elements influence the final result as that is likely to interfere with native styling and could result in all kinds of subtle interoperability issues if this is handled differently across user agents.

-- 
GitHub Notification of comment by annevk
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12365#issuecomment-3385844452 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 9 October 2025 13:20:04 UTC