[macOS] Fix programmatic scrolling with async overflow scroll
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 May 2019 06:58:40 +0000 (06:58 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 May 2019 06:58:40 +0000 (06:58 +0000)
commit2dbf13e254455bfe26f9e6f172588c66bbe754ca
tree417dc75988c802acbfc9376bbabf7a8d8fb1f9fb
parent23a1367b2fbb77c2140643377ecb9b6c0a4acc3b
[macOS] Fix programmatic scrolling with async overflow scroll
https://bugs.webkit.org/show_bug.cgi?id=197590

Reviewed by Sam Weinig.
Source/WebCore:

ScrollingTreeOverflowScrollingNodeMac needs to handle RequestedScrollPosition.

Tests: scrollingcoordinator/mac/programmatic-frame-scroll.html
       scrollingcoordinator/mac/programmatic-overflow-scroll.html

* page/scrolling/mac/ScrollingTreeOverflowScrollingNodeMac.mm:
(WebCore::ScrollingTreeOverflowScrollingNodeMac::commitStateAfterChildren):

LayoutTests:

Tests for programmatic scrolling of overflow and iframes.

* scrollingcoordinator/mac/programmatic-frame-scroll-expected.html: Added.
* scrollingcoordinator/mac/programmatic-frame-scroll.html: Added.
* scrollingcoordinator/mac/programmatic-overflow-scroll-expected.html: Added.
* scrollingcoordinator/mac/programmatic-overflow-scroll.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/scrollingcoordinator/mac/programmatic-frame-scroll-expected.html [new file with mode: 0644]
LayoutTests/scrollingcoordinator/mac/programmatic-frame-scroll.html [new file with mode: 0644]
LayoutTests/scrollingcoordinator/mac/programmatic-overflow-scroll-expected.html [new file with mode: 0644]
LayoutTests/scrollingcoordinator/mac/programmatic-overflow-scroll.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/page/scrolling/mac/ScrollingTreeOverflowScrollingNodeMac.mm