Re: [csswg-drafts] [css-env-2] env(scrollbar-inline-size) (#4691)

> Given `scrollbar-width` can change the scrollbar width on a per element basis I don't think `env(scrollbar-inline-size)` being a static value from the engine (e.g. 15px) would actually solve the issues.

Maybe a second env var that exposes the thin size – e.g. `thin-scrollbar-inline-size` – would help here? If authors have set `scrollbar-width: thin;`, then they should use `env(thin-scrollbar-inline-size)` in their calculations. Otherwise (in case of `scrollbar-width: auto;`), they should use `env(scrollbar-inline-size)`

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


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

Received on Tuesday, 14 November 2023 21:27:54 UTC