Bug 231588

Summary: [css-scrollbars-1] Implement "scrollbar-width" CSS property
Product: WebKit Reporter: Luke Warlow <lwarlow>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: agafvv, ap, bfulgham, bramus, dino, hrt963ens, jc.dafko, kevin_neal, koivisto, simon.fraser, webkit-bug-importer, whoopigoldberg3641
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 257425, 258681, 253310, 256792, 256796, 256800, 256999, 257052, 257056, 257415, 257424, 257430, 258770, 258773    
Bug Blocks:    

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