Bug 231588 - [css-scrollbars-1] Implement "scrollbar-width" CSS property
Summary: [css-scrollbars-1] Implement "scrollbar-width" CSS property
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 15
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 257425 257430 258681 253310 256792 256796 256800 256999 257052 257056 257415 257424 258770 258773
Blocks:
  Show dependency treegraph
 
Reported: 2021-10-12 10:19 PDT by Luke Warlow
Modified: 2024-01-26 16:07 PST (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Warlow 2021-10-12 10:19:36 PDT
https://drafts.csswg.org/css-scrollbars-1/#scrollbar-width

WebKit should implement the "scrollbar-width" property.

Accepted values are "auto | thin | none".

"none" is particularly useful for hiding scrollbars on carousels for example.

This would provide a standard track alternative to:

::-webkit-scrollbar {
    display: none;
}
Comment 1 Kevin Neal 2021-10-19 09:10:52 PDT
Thanks for filing. The appropriate engineers have been notified.
Comment 2 Radar WebKit Bug Importer 2021-10-19 09:11:03 PDT
<rdar://problem/84417387>
Comment 3 Luke Warlow 2023-02-17 09:17:15 PST
Pull request: https://github.com/WebKit/WebKit/pull/10285