Re: [csswg-drafts] [css-overflow-4] Do not remove overflow: overlay (#6090)

> Can you show some examples of where author control over whether scrollbars are overlay scrollbars would be useful?

To allow the gutter of the scrollbar have a transparent background, potentially hiding it when it is unused or something. The workaround might be javascript, but it destroys the integration features from browsers. With integration features, I mean stuff like this:

![image](https://user-images.githubusercontent.com/12023782/183250522-893ccac2-4b64-446d-90be-0c1fd07b2e09.png)

When using CTRL + F as example.

This wouldn't easily be possible if the entire scrollbar has to get removed.

See this JSFiddle in Google Chrome as an example: https://jsfiddle.net/3awLgj5v/

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


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

Received on Saturday, 6 August 2022 13:17:40 UTC