Re: [csswg-drafts] [css-scrollbars] Interaction between scrollbar-color and scrollbar-width with ::-webkit-scrollbar (#9856)

There are two possible interactions I can see between the `scrollbar` style properties and the styled pseudo elements (`::-webkit-scrollbar` etc):

1.  If `::-webkit-scrollbar` pseudos are specified, the UA uses them to render the scrollbars. `scrollbar-width` and `scrollbar-color` are ignored.
2. If `scrollbar-width` or `scrollbar-color` are specified, the UA ignores any `::-webkit-scrollbar` pseudo-elements.

The latter seems preferable for forward progress towards removing `::-webkit-scrollbar` support, so I agree with @frivoal 


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


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

Received on Tuesday, 26 March 2024 19:12:11 UTC