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

@Schepp Re `--viewable-area: calc(100vw - env(scrollbar-inline-size))`, if the page does *not* have a classic scrollbar, would you want the `.inner` element to extend all the way to the right edge of the browser?

If yes, then `env(scrollbar-inline-size)` would not be the solution, since it would be a fixed length, regardless of whether the page actually has a classic scrollbar or not. So `--viewable-area` would be a fixed length as well, and on a page without a classic scrollbar, that lengths would be smaller than the viewport width.

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


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

Received on Monday, 11 September 2023 06:02:36 UTC