Bug 258773 - Legacy scrollbar corner pseudo styles used despite standard scrollbar properties
Summary: Legacy scrollbar corner pseudo styles used despite standard scrollbar properties
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 231588 231590 258457
  Show dependency treegraph
 
Reported: 2023-07-01 12:01 PDT by Luke Warlow
Modified: 2023-07-12 13:57 PDT (History)
2 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 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