Bug 59759 - Overflow:scroll regions with overlay scrollbars show full thumb instead of just a track when there is nothing to scroll to
Summary: Overflow:scroll regions with overlay scrollbars show full thumb instead of ju...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Beth Dakin
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-04-28 16:20 PDT by Beth Dakin
Modified: 2011-04-28 17:20 PDT (History)
1 user (show)

See Also:


Attachments
Patch (4.10 KB, patch)
2011-04-28 16:27 PDT, Beth Dakin
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.