[csswg-drafts] [css-overflow] scrollbar-gutter: allow "auto" to be omitted (#5029)

felipeerias has just created a new issue for https://github.com/w3c/csswg-drafts:

==  [css-overflow] scrollbar-gutter: allow "auto" to be omitted ==
[The signature of `scrollbar-gutter` (spec)](https://www.w3.org/TR/css-overflow-4/#scollbar-gutter-property) indicates that one of `auto`, `stable` or `always` must be present, optionally followed by `both` and/or `force`:

    auto | [ stable | always ] && both? && force? 

(please let me know if I am reading this incorrectly)

Since `auto` is the value by default, I would like to suggest that it could be omitted from the `scrollbar-gutter` declaration if the author is using `both` and/or `force`.

So, these declarations would be valid:

    scrollbar-gutter: both;
    scrollbar-gutter: force;
    scrollbar-gutter: force both;
    scrollbar-gutter: both force;

And their effect would be exactly the same as:

    scrollbar-gutter: auto both;
    scrollbar-gutter: auto force;
    scrollbar-gutter: auto force both;
    scrollbar-gutter: auto both force;


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5029 using your GitHub account

Received on Thursday, 30 April 2020 07:40:08 UTC