`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.
Pull request: https://github.com/WebKit/WebKit/pull/15484
<rdar://problem/111958398>
Committed 265990@main (3ac44ba11fa3): <https://commits.webkit.org/265990@main> Reviewed commits have been landed. Closing PR #15484 and removing active labels.
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!
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.
Great to hear. Thank you!
Here's a PR to fix it https://github.com/web-platform-tests/wpt/pull/41001