Bug 258773
| Summary: | Legacy scrollbar corner pseudo styles used despite standard scrollbar properties | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Luke Warlow <lwarlow> |
| Component: | CSS | Assignee: | 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: | 258457, 231588, 231590 | ||
Luke Warlow
`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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Luke Warlow
Pull request: https://github.com/WebKit/WebKit/pull/15484
Radar WebKit Bug Importer
<rdar://problem/111958398>
EWS
Committed 265990@main (3ac44ba11fa3): <https://commits.webkit.org/265990@main>
Reviewed commits have been landed. Closing PR #15484 and removing active labels.
Hiroyuki Ikezoe
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
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
Great to hear. Thank you!
Luke Warlow
Here's a PR to fix it https://github.com/web-platform-tests/wpt/pull/41001