Re: [csswg-drafts] [css-scrollbars] Flaws in the Spec for `scrollbar-color` (#9826)

For my use case, I want to make the scrollbar background transparent. That's it.
This is because otherwise the scrollbar will overflow and will ignore `border-radius`.
![image](https://github.com/w3c/csswg-drafts/assets/567105/fed28ff7-8d23-4d78-908a-314a25f816f9) ![image](https://github.com/w3c/csswg-drafts/assets/567105/91ecf0bb-4dbb-48aa-b1c3-f90d9c6e6fb2)
I don't want to guess what the other color should be, I want to use the default color.
I wish I could use
```css
  scrollbar-color: auto transparent;
```
but that does not work.

I'd also be happy if we could make the scrollbars respect `border-radius` and not overflow, without changing any scrollbar colors.

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


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

Received on Friday, 2 February 2024 13:57:16 UTC