Bug 88167

Summary: [chromium] The size of scrollbar arrow button is not correct for painting on Windows
Product: WebKit Reporter: Hongbo Min <hongbo.min>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: schenney
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Hongbo Min
Reported 2012-06-02 03:34:15 PDT
The size of scrollbar arrow button returned by ScrollbarThemeChromiumWin::buttonSize is not correct on Windows. For Linux, ScrollbarThemeChromiumLinux::buttonSize in WebCore is actually delegated to getSize on NativeTheme instance. For Android, because the scrollbar arrow button is painted by threaded compositor, buttonSize returns hard-coded value (0, 0) directly. Since the theme framework built upon NativeTheme class hierarchy, for AURA theme, we don't draw scrollbar button which requires that the button size should be a empty rectangle. However, there is no way for aura theme to get the correct button size in WebCore level. Reference http://code.google.com/p/chromium/issues/detail?id=130856 for a bug in chromium caused by it.
Attachments
Note You need to log in before you can comment on or make changes to this bug.