Bug 258773

Summary: Legacy scrollbar corner pseudo styles used despite standard scrollbar properties
Product: WebKit Reporter: Luke Warlow <lwarlow>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: hikezoe.birchill, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/40847
Bug Depends on:    
Bug Blocks: 231588, 231590, 258457    

Description Luke Warlow 2023-07-01 12:01:03 PDT
`scrollbar-color` and `scrollbar-width` disable `::-webkit-scrollbar` styles when set to non auto values. But they don't disable `::-webkit-scrollbar-corner` styles. This bug will address that and add necessary tests.
Comment 1 Luke Warlow 2023-07-01 12:50:09 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15484
Comment 2 Radar WebKit Bug Importer 2023-07-08 12:01:16 PDT
<rdar://problem/111958398>
Comment 3 EWS 2023-07-12 04:17:57 PDT
Committed 265990@main (3ac44ba11fa3): <https://commits.webkit.org/265990@main>

Reviewed commits have been landed. Closing PR #15484 and removing active labels.
Comment 4 Hiroyuki Ikezoe 2023-07-12 13:45:15 PDT
Some of the tests added here fail on Firefox because of the non-standard `::-webkit-scrollbar-corner`. Can you please move those tests somewhere else? Thanks!
Comment 5 Luke Warlow 2023-07-12 13:49:47 PDT
It's not because of the non-standard property. I was careful to only write tests that negate that property so it will work in Firefox. The issue is because I messed up the refs and they don't have scrollbar-color declarations. Will fix now.
Comment 6 Hiroyuki Ikezoe 2023-07-12 13:50:43 PDT
Great to hear. Thank you!
Comment 7 Luke Warlow 2023-07-12 13:57:12 PDT
Here's a PR to fix it https://github.com/web-platform-tests/wpt/pull/41001