[Win][WebCore] New API to get scrollbar pixels per line (cScrollbarPixelsPerLine) A constant `cScrollbarPixelsPerLine` is defined in multiple codes. WebCore/platform/win/WheelEventWin.cpp DumpRenderTree/win/EventSender.cpp
(In reply to Brent Fulgham from bug#183043 comment #5) > > Source/WebKit/Shared/win/WebEventFactory.cpp:400 > > + static const float cScrollbarPixelsPerLine = 100.0f / 3.0f; > > We should probably expose this from WebCore in some useful way, since we now > have this hard-coded in two places.
Created attachment 337155 [details] Patch
Comment on attachment 337155 [details] Patch This doubles the calls to ::GetDeviceCaps when scrolling.
Created attachment 337337 [details] Patch
Comment on attachment 337337 [details] Patch Clearing flags on attachment: 337337 Committed r230355: <https://trac.webkit.org/changeset/230355>
All reviewed patches have been landed. Closing bug.
<rdar://problem/39247433>