Re: [csswg-drafts] [css-overflow] scrollbar-gutter should not do anything for non-scrollable boxes (#6028)

I disagree. In Gecko at least, the way we implement scrollers is a different box altogether (wrapping the scrolled content).

In Blink / WebKit, the scrollable area seems like a property of the layer / layout object, and looking at Blink's implementation of `scrollbar-gutter: force`, at the very least this seems to affect various CSSOM methods like scrollWidth etc. It also forces layerization, though I don't know what side effects does that have in practice, seems it might affect paint order (as it behaves as if the element was relatively-positioned / created its own stacking context). So I still think it applying to non-scrollable boxes is a bad idea.

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


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

Received on Friday, 26 February 2021 21:28:14 UTC