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

Hello, another use case is to to have a position: fixed div stuck on the right of the screen cleanly.
Many people use JS workarounds right now for many use cases.
See for example [https://stackoverflow.com/questions/28360978/css-how-to-get-browser-scrollbar-width-for-hover-overflow-auto-nice-margi](https://stackoverflow.com/questions/28360978/css-how-to-get-browser-scrollbar-width-for-hover-overflow-auto-nice-margi)
The best option in my opinion would be to have parent-scrollbar-width variable accessible to calc.



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


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

Received on Tuesday, 16 May 2023 09:53:48 UTC