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

If the viewport-percentage units are to be defined as independent of whether there are scrollbars, it's much more useful to always subtract a default scrollbar width. This way there isn't overflow when a single dimension in the layout or a sum thereof reaches 100 of the relevant units. And if there are no scrollbars, some stuff may be smaller, but that's not as big a deal (although authors may want to stretch or repeat backgrounds to cover the extra space).

It makes the most important use case easier when (actually if) the relevant environment variable arrives by not requiring its use along with inelegant calc expressions and possible at all for the near future.

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

Received on Monday, 4 February 2019 16:48:42 UTC