Bug 27558 - corrupted rendering for css styled scrollbars on main window
Summary: corrupted rendering for css styled scrollbars on main window
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL: http://trac.webkit.org/export/41842/t...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-22 13:05 PDT by Evan Stade
Modified: 2022-08-31 14:13 PDT (History)
9 users (show)

See Also:


Attachments
STP 152 black scrollbar (1.12 MB, image/png)
2022-08-31 14:13 PDT, Ahmad Saleem
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Stade 2009-07-22 13:05:33 PDT
Reproduction steps:
1. go to http://trac.webkit.org/export/41842/trunk/LayoutTests/scrollbars/overflow-scrollbar-combinations.html
2. Resize the browser window until there is a vertical scrollbar on the main window
3. Notice that the vertical scrollbar doesn't paint, or paints oddly
4. Hovering over the relevants bits of the scrollbar (thumb, lower track, upper track, etc.) will cause the paint to occur correctly

apologies if this is a dupe, I attempted a search.

I tested this on chrome for linux, chrome for windows, and safari 4 for windows, with similar results on all platforms.
Comment 1 Darin Fisher (:fishd, Google) 2009-07-28 17:30:01 PDT
This sounds very familiar to me.
Comment 2 Tony Chang 2009-07-28 17:39:45 PDT
Sounds like a Chromium bug I filed a couple weeks ago:
http://code.google.com/p/chromium/issues/detail?id=14396
Comment 3 Ahmad Saleem 2022-08-31 07:30:22 PDT
I took the test case and changed it into JSFiddle:

https://jsfiddle.net/z63xbhjv/

NOTE - Don't open it in full view by adding "show" in the end. Just open it from the URL.

Notice that Safari Technical Preview add "Black" bar just next to vertical scrollbar in "Result" / Console window.

Chrome Canary 107 does not draw any scrollbar but it is scrollable in the area and as for Firefox Nightly, it does have "scrollbar" and it works intended but I am not sure whether it is correct since this test case has -webkit- prefixes and Firefox Nightly might be ignoring it.

BUG it seems is that - Safari is drawing "black" scrollbar next to intended scrollbar and the black area is kind of scrollbar (if I click on the bottom area), it moves viewport.

I am changing the status of this to "New" and adding few Webkit Engineers for their input. Thanks!
Comment 4 Simon Fraser (smfr) 2022-08-31 11:39:27 PDT
Could you attach a screenshot? Also, does this require the user to have "always-on" scrollbars?
Comment 5 Ahmad Saleem 2022-08-31 14:13:27 PDT
Created attachment 462055 [details]
STP 152 black scrollbar

(In reply to Simon Fraser (smfr) from comment #4)
> Could you attach a screenshot? Also, does this require the user to have
> "always-on" scrollbars?

Yes - I have "always-on" scrollbar and this is attached screenshot.