Skip to content

[css-overflow-4] give scrollbar-gutter the ability to decide whether overlay or classic scrollbars should be used instead of only the user agent #7716

@karl-police

Description

@karl-police

Apparently, scrollbar-gutter is finished and there's no possibility to create overlay scrollbars with it. Instead, the scrollbar-gutter definition, it says this:

Whether classic scrollbars or overlay scrollbars are used, the appearance and size of the scrollbar, and whether scrollbars appear on the start or end edge of the box, is UA defined.

 

I quote "is UA defined". Google Chrome added an experiment with that which can be toggled on the flags. It is an overlay scrollbar, but though it has some issues, and for some reason they gave it some animation and you can't control the style of it.

 

Why should only the user agent, be able to decide whether they see Classic Scrollbars or Overlay Scrollbars? So that would mean, the user using the browser would go to the settings to change it.

Aren't there ways to do those overlay scrollbars with the help of javascript or something? So why not give the web developer the choice to make those overlay scrollbars happen? But without JS.

What if the user agent wants to use both or let the website decide?

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