Re: [csswg-drafts] [css-overflow] overflow: Consider support for overlay scrollbars

If the width of the scollbar is known to CSS an author could write,
  margin-left: max(1em, --ui-scrollbar-width)
or whatever, and reserve space accordingly. That might be better than 
a new property.

The main difficulties I see is are
1. you don't know whether the scrollbar will be on the left, right, 
top, bottom, depending on language writing mode and user locale and 
preferences.
2. the box model needs to be clear that the scroll bar comes out of 
margin (or padding) space. Maybe that's already clear?
3. we don't actually have max()

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

Received on Wednesday, 10 August 2016 17:10:13 UTC