Skip to content
  • peter@chromium.org's avatar
    Android's mock scrollbars shows up as a difference in layout test results · d59609b9
    peter@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=96382
    
    Reviewed by Adam Barth.
    
    Remove the exceptions made for layout tests in Android's scrollbar theme.
    This will make our actual scrollbars show up in layout test pixel results,
    bringing the tests closer to what we actually ship.
    
    An important difference with other platforms is that scrollbars do not
    take any width on Android, they're rendered on top of the content. Therefore
    each test that has a visible scrollbar does not just need a new pixel
    result, but will also need a new text result. This will be handled as part
    of a larger rebaselining process.
    
    Will be exercised by every layout test that has a scrollbar.
    
    * platform/chromium/ScrollbarThemeChromiumAndroid.cpp:
    (WebCore::ScrollbarThemeChromiumAndroid::scrollbarThickness):
    (WebCore::ScrollbarThemeChromiumAndroid::usesOverlayScrollbars):
    (WebCore::ScrollbarThemeChromiumAndroid::hasThumb):
    * platform/chromium/ScrollbarThemeChromiumAndroid.h:
    (ScrollbarThemeChromiumAndroid):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129394 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d59609b9