Skip to content

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

Closed
@felipeerias

Description

@felipeerias

The signature of scrollbar-gutter (spec) 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;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions