[GTK] scrollbar thumb clipped in 2.11.92
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Mar 2016 09:18:30 +0000 (09:18 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Mar 2016 09:18:30 +0000 (09:18 +0000)
commit2d93e0c3ddc4c16cd7f2229b7ad90a5c18c505bf
treedaf146e3bf797422275c89627681effb2c807469
parent57db5a39a436534789cb2c3b68fb0f6ad1051b40
[GTK] scrollbar thumb clipped in 2.11.92
https://bugs.webkit.org/show_bug.cgi?id=155586

Reviewed by Michael Catanzaro.

In the current version of Adwaita, the scrollbar itself also has a
one pixel border that we are not taking into account.

* platform/gtk/ScrollbarThemeGtk.cpp:
(WebCore::ScrollbarThemeGtk::paintThumb): Use the scrollbar size
in indicator mode, instead of only the thumb size, to correctly
position the thumb in indicator mode.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp