[Win] WebKit renders scrollbar wrong at 125% scale.
authorpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Jun 2017 07:36:00 +0000 (07:36 +0000)
committerpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Jun 2017 07:36:00 +0000 (07:36 +0000)
commit8267eb8dc4d25e154e77b1cf2ce35ece329ff4d1
tree5891d73f9e8d3a2b445b611e27147a15ddcbe462
parent587354f345fa6ad0cc24631422af74b0661e17a5
[Win] WebKit renders scrollbar wrong at 125% scale.
https://bugs.webkit.org/show_bug.cgi?id=173363

Reviewed by Darin Adler.

Scrollbars are drawn with the GDI function DrawThemeBackground. Sometimes, the GDI clip
rectangle will be too small since we clamp a FloatRect to integer values when setting the
GDI clip rectangle.

* platform/graphics/win/GraphicsContextWin.cpp:
(WebCore::GraphicsContextPlatformPrivate::clip):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@218384 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/win/GraphicsContextWin.cpp