- From: Chris Harrelson via GitHub <sysbot+gh@w3.org>
- Date: Wed, 21 Apr 2021 17:51:03 +0000
- To: public-css-archive@w3.org
> Simplifying `scrollbar-gutter` down to just `auto` and `always` makes the intent of the developer clear. If `scrollbar-gutter` is requested, the intent of the author is most likely to provided cross-UA reservation of scrollbar space regardless of classical or overlay scrollbars. I think that by far the most important use case of scrollbar gutter is to *avoid layout shifts that depend on the presence of scrollbars*. I hope we can all agree that this is an important use case, and as far as I can tell we do. Developers have been frustrated by this problem for a very long time. This problem only applies in the presence of classic scrollbars, and does not exist for overlay scrollbars. Overlay scrollbars never have layout shifts that occur due to the presence or absence of scrollbars. This use case would be solved by the subset of `scrollbar-gutter` that does not include `always`, and is still solved even with @emilio's proposal in #6028 to restrict to boxes that might have a scrollbar. Let's just do those, and solve the most important use case. -- GitHub Notification of comment by chrishtr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4674#issuecomment-824245708 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 21 April 2021 17:51:06 UTC