WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
93785
Adding -webkit-scrollbar styles don't affect pre-existing scrollbars
https://bugs.webkit.org/show_bug.cgi?id=93785
Summary
Adding -webkit-scrollbar styles don't affect pre-existing scrollbars
Jon
Reported
2012-08-12 13:45:35 PDT
1. Have a div with scrollbars 2. Add -webkit-scrollbar styles that affect the look of the scrollbars Expected result: The existing scrollbars show the new styles, and newly added divs with scrollbars show the correct styles Actual result: Existing scrollbars do not update, but newly added divs with scrollbars show the correct styles. This url shows the behavior:
http://jsfiddle.net/newtang/N4Vws/1/
(I'm adding an inline style tag in this example. Adding an external stylesheet has the same problem.)
Attachments
Add attachment
proposed patch, testcase, etc.
Julien Chaffraix
Comment 1
2012-08-22 09:01:50 PDT
Confirmed on WebKit ToT (Chromium & Mac Lion). There is another bug too: if you remove the custom scrollbar style from an existing overflow: auto div, you don't fall back to the normal scrollbars.
Brent Fulgham
Comment 2
2022-07-13 10:45:59 PDT
This is still an issue in Safari 15.
Radar WebKit Bug Importer
Comment 3
2022-07-13 10:46:10 PDT
<
rdar://problem/96961319
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug