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: 231590, 258457, 231588    

Luke Warlow
Reported 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.
Attachments
Luke Warlow
Comment 1 2023-07-01 12:50:09 PDT
Radar WebKit Bug Importer
Comment 2 2023-07-08 12:01:16 PDT
EWS
Comment 3 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.
Hiroyuki Ikezoe
Comment 4 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!
Luke Warlow
Comment 5 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.
Hiroyuki Ikezoe
Comment 6 2023-07-12 13:50:43 PDT
Great to hear. Thank you!
Luke Warlow
Comment 7 2023-07-12 13:57:12 PDT
Note You need to log in before you can comment on or make changes to this bug.