[Webkit-unassigned] [Bug 256419] Can't override ::-webkit-scrollbar display: none
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Aug 6 13:02:31 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=256419
--- Comment #8 from Luke <luke at warlow.dev> ---
The long and short of it is currently you're correct there is no way to override it. Because it's in both WebKit and Chromium it seems it's just how it's always worked. I'm hesitant to try and make any changes to how the pseudo itself works at this point because it might not be web compatible.
Having said that, it would be nice to have a way to override it and reset it back to standard and the new standard properties seem like an ideal mechanism.
Unfortunately, scrollbar-width and scrollbar-color auto will result in the WebKit styles being used. In both Chromium and WebKits implementations.
I've raised a spec issue surrounding this. https://github.com/w3c/csswg-drafts/issues/9169 Potentially a new value for these properties such as "normal" can be used to completely disable the custom styles.
The alternative might be once the standard properties are in all three browser engines (I'm trying my best to get there) that the webkit ones can be disabled. But I think the more likely end result will be that display: none still works and as such this issue will still exist.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230806/4485637c/attachment.htm>
More information about the webkit-unassigned
mailing list