[csswg-drafts] [css-overflow-4] give scrollbar-gutter the ability to decide whetever overlay and classic scrollbars should be used instead of the User Agent (#7716)

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

== [css-overflow-4] give scrollbar-gutter the ability to decide whetever overlay and classic scrollbars should be used instead of the User Agent ==
Apparently, [scrollbar-gutter](https://drafts.csswg.org/css-overflow/#scrollbar-gutter-property) is finished and there's no possibility to create overlay scrollbars with it. Instead, the scrollbar-gutter definition, it says this:

> Whether [classic scrollbars](https://drafts.csswg.org/css-overflow/#classic-scrollbars) or [overlay scrollbars](https://drafts.csswg.org/css-overflow/#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 whetever they see Classic Scrollbars or Overlay Scrollbars? 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.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 8 September 2022 21:03:41 UTC