Re: [csswg-drafts] [css-values] Should viewport units still depend on scrollbar width for overflow:scroll? (#1766)

The previous resolution in this issue has been reversed in #6026. `overflow: scroll` on the root element (or similar things, such as `scrollbar-gutter: always`) will now reduce the size of the viewport units.

There's a few wrinkles - setting `overflow:scroll` on the `body` element will also trigger root scrollbars, but won't change viewport units, because of cyclic issues. And if you manually adjust the size of scrollbars with the WebKit/Blink scrollbar pseudo-elements, that won't be taken into account, again for cyclic reasons. But `scrollbar-width` on the root element will be taken into account, so `thin` scrollbars will work correctly.

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


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

Received on Wednesday, 29 November 2023 18:24:41 UTC