Content not painted when scrolling an overflow node inside an iframe
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Nov 2017 05:35:34 +0000 (05:35 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Nov 2017 05:35:34 +0000 (05:35 +0000)
commite32343cfa2400a29cde2ad617b5b636fd1943832
treebc6c63c99c436672293505e27aabf113868f428a
parent3d8a10f83bfcf722bf2c1cd9f20da69613b8e198
Content not painted when scrolling an overflow node inside an iframe
https://bugs.webkit.org/show_bug.cgi?id=179315
rdar://problem/35364166

Reviewed by Tim Horton.

Source/WebCore:

When scrolling overflow:scroll, we need to check for overlap updates just as we do
for page scrolls.

Test: compositing/ios/overflow-scroll-update-overlap.html

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateCompositingLayers):

LayoutTests:

* compositing/ios/overflow-scroll-update-overlap-expected.html: Added.
* compositing/ios/overflow-scroll-update-overlap.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/compositing/ios/overflow-scroll-update-overlap-expected.html [new file with mode: 0644]
LayoutTests/compositing/ios/overflow-scroll-update-overlap.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayerCompositor.cpp