Re: [csswg-drafts] [css-overflow] overflow: Consider reserving space for scrollbars with some property

We resolved on:

```
scrollbar-gutter: auto | [ [stable | always ] && force? && both? ]
```
The property is inherited, and the initial value is `auto`.

The behavior of `auto`, `stable`, and `force` is as defined in 
https://github.com/w3c/csswg-drafts/issues/92#issuecomment-249163456. 
They also apply when `overflow` is `scroll`.

Stable and always do not apply to `overflow: visisble`, `overflow: 
hidden`, and `overflow: clip`, unless the `force` keyword is present, 
in which case they do.

When the `both` keyword is present, the space is reserved on both 
edges of the box rather than just the side the scrollbar appears in.

The property only has effects on the scrollbars triggered by overflow 
in the block direction.

If we find that we want to get the same effect for inline overflow, we
 will later add a new `scrollbar-gutter-inline` longhand, and the 
shorthand optionally take the same values a second time, defaulting to
 `auto` when omitted.

The name of the values are expected to be bikesheeded in a future 
session.

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

Received on Friday, 13 January 2017 22:41:31 UTC