Changeset 245771 in webkit
- Timestamp:
- May 25, 2019 8:01:09 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r245768 r245771 1 2019-05-25 Simon Fraser <simon.fraser@apple.com> 2 3 [macOS] Fix programmatic scroll in RTL overflow with async scrolling enabled 4 https://bugs.webkit.org/show_bug.cgi?id=198226 5 6 Reviewed by Antti Koivisto. 7 8 * scrollingcoordinator/mac/rtl-programmatic-overflow-scroll-expected.html: Added. 9 * scrollingcoordinator/mac/rtl-programmatic-overflow-scroll.html: Added. 10 1 11 2019-05-24 Joonghun Park <jh718.park@samsung.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r245768 r245771 1 2019-05-25 Simon Fraser <simon.fraser@apple.com> 2 3 [macOS] Fix programmatic scroll in RTL overflow with async scrolling enabled 4 https://bugs.webkit.org/show_bug.cgi?id=198226 5 6 Reviewed by Antti Koivisto. 7 8 On macOS we need to use a scroll offset to set the layer position, not 9 a scroll position. 10 11 Test: scrollingcoordinator/mac/rtl-programmatic-overflow-scroll.html 12 13 * page/scrolling/mac/ScrollingTreeOverflowScrollingNodeMac.mm: 14 (WebCore::ScrollingTreeOverflowScrollingNodeMac::repositionScrollingLayers): 15 1 16 2019-05-24 Joonghun Park <jh718.park@samsung.com> 2 17 -
trunk/Source/WebCore/page/scrolling/mac/ScrollingTreeOverflowScrollingNodeMac.mm
r244947 r245771 91 91 void ScrollingTreeOverflowScrollingNodeMac::repositionScrollingLayers() 92 92 { 93 auto scroll Position = currentScrollPosition();94 scrolledContentsLayer().position = -scroll Position;93 auto scrollOffset = ScrollableArea::scrollOffsetFromPosition(currentScrollPosition(), toFloatSize(scrollOrigin())); 94 scrolledContentsLayer().position = -scrollOffset; 95 95 } 96 96
Note: See TracChangeset
for help on using the changeset viewer.