REGRESSION (r245208): compositing/shared-backing/sharing-bounds-non-clipping-shared...
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 May 2019 18:13:40 +0000 (18:13 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 May 2019 18:13:40 +0000 (18:13 +0000)
commit1ff8377676af52a96188cec6c9eb5f61be57c4cf
treefccfe36df7e3e9f7713b8852cf1c0822bf88d421
parent9a3d31505a814b12c139e8a4afe51b2ce4ba8bae
REGRESSION (r245208): compositing/shared-backing/sharing-bounds-non-clipping-shared-layer.html asserts
https://bugs.webkit.org/show_bug.cgi?id=197818
<rdar://problem/50705762>

Reviewed by Simon Fraser.

Source/WebCore:

Tests: fast/scrolling/ios/event-region-scale-transform-shared.html
       fast/scrolling/ios/event-region-translate-transform-shared.html

This fixes the assert. However the added tests demonstrate that transform is not taken into account
when computing the event region, https://bugs.webkit.org/show_bug.cgi?id=197836.

* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateEventRegion):

LayoutTests:

* fast/scrolling/ios/event-region-scale-transform-shared-expected.txt: Added.
* fast/scrolling/ios/event-region-scale-transform-shared.html: Added.
* fast/scrolling/ios/event-region-translate-transform-shared-expected.txt: Added.
* fast/scrolling/ios/event-region-translate-transform-shared.html: Added.
* platform/ios-wk2/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/scrolling/ios/event-region-scale-transform-shared-expected.txt [new file with mode: 0644]
LayoutTests/fast/scrolling/ios/event-region-scale-transform-shared.html [new file with mode: 0644]
LayoutTests/fast/scrolling/ios/event-region-translate-transform-shared-expected.txt [new file with mode: 0644]
LayoutTests/fast/scrolling/ios/event-region-translate-transform-shared.html [new file with mode: 0644]
LayoutTests/platform/ios-wk2/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayerBacking.cpp