Bug 88167 - [chromium] The size of scrollbar arrow button is not correct for painting on Windows
Summary: [chromium] The size of scrollbar arrow button is not correct for painting on ...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-02 03:34 PDT by Hongbo Min
Modified: 2013-04-15 07:31 PDT (History)
1 user (show)

See Also:


Attachments

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