Bug 60045

Summary: Scrollbar thumb sometimes leaves artifacts in the track after scrolling
Product: WebKit Reporter: Beth Dakin <bdakin>
Component: Layout and RenderingAssignee: Beth Dakin <bdakin>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Patch mitz: review+

Description Beth Dakin 2011-05-03 11:33:01 PDT
Sometimes the scrollbar thumb leaves artifacts of itself at the top and/or bottom of the track after scrolling.

<rdar://problem/9015376>

Patch forthcoming.
Comment 1 Beth Dakin 2011-05-03 11:35:37 PDT
Created attachment 92094 [details]
Patch
Comment 2 mitz 2011-05-03 11:38:00 PDT
Comment on attachment 92094 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=92094&action=review

> Source/WebCore/platform/mac/ScrollbarThemeMac.mm:143
> +#if USE(WK_SCROLLBAR_PAINTER)
> +    gButtonPlacement = ScrollbarButtonsNone;
> +#else

You can return here and not read the default. Or you can return without even setting the value because it’s already initialized to ScrollbarButtonsNone in the static initializer.
Comment 3 Beth Dakin 2011-05-03 11:44:03 PDT
(In reply to comment #2)
> You can return here and not read the default. Or you can return without even setting the value because it’s already initialized to ScrollbarButtonsNone in the static initializer.

Sounds good! Will change.
Comment 4 Beth Dakin 2011-05-03 11:45:41 PDT
Committed change with revision 85629.