Re: [csswg-drafts] [css-ui] appearance: base to enable interoperable styling of controls/components (#5998)

Hello! I've been implementing `appearance:base-select` for the `<select>` element in chromium instead of a new HTML element or HTML attribute in response to feedback on the WHATWG thread here: https://github.com/whatwg/html/issues/9799

I was able to implement it by including all of the DOM content needed for appearance:auto and appearance:base-select in the `<select>`'s UA shadowroot, and then excluding certain parts from the layout tree based on the computed value of the appearance property. It is also possible to adjust certain UA styles based on the computed value of appearance based on findings here: https://github.com/w3c/csswg-drafts/issues/10028#issuecomment-2047865990

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


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

Received on Wednesday, 10 April 2024 15:31:35 UTC