[webkit-dev] Request for position: CSS scrollbar-gutter

Felipe Erias felipeerias at igalia.com
Tue Feb 23 05:54:24 PST 2021


Hi webkit-dev,

This is a request for WebKit's position on the CSS "scrollbar-gutter" 
property. The spec status is Working Draft. This feature is already 
implemented in Chrome behind a flag.

Spec:
   https://drafts.csswg.org/css-overflow-4/#scrollbar-gutter-property

Explainer:
   https://github.com/felipeerias/scrollbar-gutter-explainer

Existing WebKit bug:
   https://bugs.webkit.org/show_bug.cgi?id=167335

Summary:

The scrollbar-gutter property provides control over the presence of 
scrollbar gutters (the space which may be reserved to display a scrollbar).

This gives Web authors more agency over how their layouts interact with 
the scrollbars provided by the browser, so they can e.g. prevent 
excessive layout changes as content expands while avoiding unwanted 
visuals when scrolling isn't needed.

Thanks!

Best.
Felipe


More information about the webkit-dev mailing list