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

@jonjohnjohnson 

I don't think being able to set the width of the scrollbar is related to the issue I'm talking about. Unless I'm not understanding what you're saying. You should be able to have a design depend on the available width and have default scrollbars.

The `env()` variable for scrollbar width would be a suitable fix though, even if very annoying.

I'm just not sure why `vw` would by default return a value that includes the area taken up by a scrollbar, as web developers avoid causing horizontal scroll at all costs in practice. And if there were a reason to use it, that should be the 'opt-in', not the other way around. But even then, as of now there is no opt-in or opt-out, it just is always included, which is frustrating to say the least.

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

Received on Monday, 7 May 2018 21:24:27 UTC