REGRESSION (iOS 12.2): CSS perspective property value can only be set correctly once
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Apr 2019 21:26:52 +0000 (21:26 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Apr 2019 21:26:52 +0000 (21:26 +0000)
commitc05db45aa35c2b7df3ec95c6ad27e463302145e2
tree425f019f6acbf170a8899226cf1a1d2cea1bf747
parent6480a9fe7de8e064d36b0c071247d9e1d2ecf98c
REGRESSION (iOS 12.2): CSS perspective property value can only be set correctly once
https://bugs.webkit.org/show_bug.cgi?id=197105
Source/WebCore:

rdar://problem/50068230

Reviewed by Zalan Bujtas.

Make sure we trigger a geometry update when style properties change that
result in a StyleDifference::RecompositeLayer, and which are updated on layers
via RenderLayerBacking::updateGeometry().

Tests: compositing/style-change/backface-visibility-change.html
       compositing/style-change/perspective-change.html
       compositing/style-change/perspective-origin-change.html
       compositing/style-change/transform-origin-change.html
       compositing/style-change/transform-style-change.html

* rendering/RenderLayerCompositor.cpp:
(WebCore::recompositeChangeRequiresGeometryUpdate):
(WebCore::RenderLayerCompositor::layerStyleChanged):

LayoutTests:

Reviewed by Zalan Bujtas.

* compositing/style-change/backface-visibility-change-expected.html: Added.
* compositing/style-change/backface-visibility-change.html: Added.
* compositing/style-change/perspective-change-expected.html: Added.
* compositing/style-change/perspective-change.html: Added.
* compositing/style-change/perspective-origin-change-expected.html: Added.
* compositing/style-change/perspective-origin-change.html: Added.
* compositing/style-change/transform-origin-change-expected.html: Added.
* compositing/style-change/transform-origin-change.html: Added.
* compositing/style-change/transform-style-change-expected.html: Added.
* compositing/style-change/transform-style-change.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
LayoutTests/ChangeLog
LayoutTests/compositing/style-change/backface-visibility-change-expected.html [new file with mode: 0644]
LayoutTests/compositing/style-change/backface-visibility-change.html [new file with mode: 0644]
LayoutTests/compositing/style-change/perspective-change-expected.html [new file with mode: 0644]
LayoutTests/compositing/style-change/perspective-change.html [new file with mode: 0644]
LayoutTests/compositing/style-change/perspective-origin-change-expected.html [new file with mode: 0644]
LayoutTests/compositing/style-change/perspective-origin-change.html [new file with mode: 0644]
LayoutTests/compositing/style-change/transform-origin-change-expected.html [new file with mode: 0644]
LayoutTests/compositing/style-change/transform-origin-change.html [new file with mode: 0644]
LayoutTests/compositing/style-change/transform-style-change-expected.html [new file with mode: 0644]
LayoutTests/compositing/style-change/transform-style-change.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayerCompositor.cpp