Bug 59759

Summary: Overflow:scroll regions with overlay scrollbars show full thumb instead of just a track when there is nothing to scroll to
Product: WebKit Reporter: Beth Dakin <bdakin>
Component: Layout and RenderingAssignee: Beth Dakin <bdakin>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bdakin
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch none

Description Beth Dakin 2011-04-28 16:20:25 PDT
Overflow:scroll regions with overlay scrollbars show full thumb instead of just a track when there is nothing to scroll to.

<rdar://problem/9282066>

Patch forthcoming.
Comment 1 Beth Dakin 2011-04-28 16:27:19 PDT
Created attachment 91586 [details]
Patch
Comment 2 Darin Adler 2011-04-28 16:31:31 PDT
Comment on attachment 91586 [details]
Patch

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

> Source/WebCore/platform/mac/ScrollbarThemeMac.mm:472
> +    float proportion = visibleSize != totalSize ? (visibleSize - overhang) / totalSize : 0;

I kind of wish you used "<" here instead of "!=".
Comment 3 Beth Dakin 2011-04-28 17:18:31 PDT
Comment on attachment 91586 [details]
Patch

Actually! I want to fix this a different way. I'm going to roll this out.
Comment 4 Beth Dakin 2011-04-28 17:20:20 PDT
Rolled out with revision 85269.