haikuwebkit/LayoutTests/transforms/2d
Antoine Quint 7bf6e2c44c Updating an individual transform CSS property has no visual change when composited
https://bugs.webkit.org/show_bug.cgi?id=217769
<rdar://problem/70344280>

Reviewed by Simon Fraser.

Source/WebCore:

Ensure that changes to the translate, scale and rotate CSS properties have the same
effect than when the transform property is changed for composited elements.

Tests: transforms/2d/rotate-change-composited.html
       transforms/2d/scale-change-composited.html
       transforms/2d/translate-change-composited.html

* platform/graphics/transforms/RotateTransformOperation.h:
* platform/graphics/transforms/ScaleTransformOperation.h:
* platform/graphics/transforms/TranslateTransformOperation.h:
* rendering/RenderLayerCompositor.cpp:
(WebCore::recompositeChangeRequiresGeometryUpdate):
(WebCore::styleHas3DTransformOperation):
(WebCore::styleTransformOperationsAreRepresentableIn2D):
(WebCore::RenderLayerCompositor::requiresCompositingForTransform const):
(WebCore::RenderLayerCompositor::layerHas3DContent const):

LayoutTests:

Add new tests that check that changing the value of one of the individual transform
CSS properties when the element is composited yields a visual change.

* transforms/2d/rotate-change-composited-expected.html: Added.
* transforms/2d/rotate-change-composited.html: Added.
* transforms/2d/scale-change-composited-expected.html: Added.
* transforms/2d/scale-change-composited.html: Added.
* transforms/2d/translate-change-composited-expected.html: Added.
* transforms/2d/translate-change-composited.html: Added.

Canonical link: https://commits.webkit.org/230510@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-15 19:49:00 +00:00
..
resources
compound-2d-transforms-expected.txt
compound-2d-transforms.html
compound-transforms-vs-containers.html
computed-style-origin-expected.txt
computed-style-origin.html
cssmatrix-2d-zoom-expected.png
cssmatrix-2d-zoom-expected.txt
cssmatrix-2d-zoom.html
hindi-rotated.html
perspective-not-fixed-container-expected.html
perspective-not-fixed-container.html
preserve3d-not-fixed-container-expected.html
preserve3d-not-fixed-container.html
rotate-and-scale-and-translate-order-expected.html Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
rotate-and-scale-and-translate-order.html Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
rotate-and-transform-attribute-in-svg-expected.svg Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
rotate-and-transform-attribute-in-svg.svg Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
rotate-and-transform-css-property-in-svg-expected.svg Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
rotate-and-transform-css-property-in-svg.svg Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
rotate-and-translate-in-svg-expected.svg Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
rotate-and-translate-in-svg.svg Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
rotate-and-translate-order-expected.html Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
rotate-and-translate-order.html Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
rotate-change-composited-expected.html Updating an individual transform CSS property has no visual change when composited 2020-10-15 19:49:00 +00:00
rotate-change-composited.html Updating an individual transform CSS property has no visual change when composited 2020-10-15 19:49:00 +00:00
rotate-composited-expected.html transform-origin is applied on top of invidivual CSS transform properties on composited layers 2020-10-14 07:17:43 +00:00
rotate-composited.html transform-origin is applied on top of invidivual CSS transform properties on composited layers 2020-10-14 07:17:43 +00:00
rotate-in-svg-expected.svg Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
rotate-in-svg.svg Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
rotate-transform-order-expected.html Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
rotate-transform-order.html Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
rotate-transform-origin-order-expected.html Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
rotate-transform-origin-order.html Add non-animated support for the CSS rotate property 2020-10-05 18:42:12 +00:00
scale-and-transform-attribute-in-svg-expected.svg Add non-animated support for the CSS scale property 2020-10-05 09:46:39 +00:00
scale-and-transform-attribute-in-svg.svg Add non-animated support for the CSS scale property 2020-10-05 09:46:39 +00:00
scale-and-transform-css-property-in-svg-expected.svg Add non-animated support for the CSS scale property 2020-10-05 09:46:39 +00:00
scale-and-transform-css-property-in-svg.svg Add non-animated support for the CSS scale property 2020-10-05 09:46:39 +00:00
scale-and-translate-in-svg-expected.svg Add non-animated support for the CSS scale property 2020-10-05 09:46:39 +00:00
scale-and-translate-in-svg.svg Add non-animated support for the CSS scale property 2020-10-05 09:46:39 +00:00
scale-and-translate-order-expected.html Add non-animated support for the CSS scale property 2020-10-05 09:46:39 +00:00
scale-and-translate-order.html Add non-animated support for the CSS scale property 2020-10-05 09:46:39 +00:00
scale-change-composited-expected.html Updating an individual transform CSS property has no visual change when composited 2020-10-15 19:49:00 +00:00
scale-change-composited.html Updating an individual transform CSS property has no visual change when composited 2020-10-15 19:49:00 +00:00
scale-composited-expected.html transform-origin is applied on top of invidivual CSS transform properties on composited layers 2020-10-14 07:17:43 +00:00
scale-composited.html transform-origin is applied on top of invidivual CSS transform properties on composited layers 2020-10-14 07:17:43 +00:00
scale-in-svg-expected.svg Add non-animated support for the CSS scale property 2020-10-05 09:46:39 +00:00
scale-in-svg.svg Add non-animated support for the CSS scale property 2020-10-05 09:46:39 +00:00
scale-transform-order-expected.html Add non-animated support for the CSS scale property 2020-10-05 09:46:39 +00:00
scale-transform-order.html Add non-animated support for the CSS scale property 2020-10-05 09:46:39 +00:00
scale-transform-origin-order-expected.html Add non-animated support for the CSS scale property 2020-10-05 09:46:39 +00:00
scale-transform-origin-order.html Add non-animated support for the CSS scale property 2020-10-05 09:46:39 +00:00
set-transform-and-top-expected.txt
set-transform-and-top.html
transform-2d-expected.txt
transform-2d-prefixed-expected.txt
transform-2d-prefixed.html
transform-2d.html
transform-accuracy-expected.txt
transform-accuracy.html
transform-borderbox.html
transform-fixed-container.html
transform-origin-borderbox.html
transform-value-types-expected.txt
transform-value-types.html
translate-and-transform-attribute-in-svg-expected.svg Add non-animated support for the CSS translate property 2020-10-03 22:07:03 +00:00
translate-and-transform-attribute-in-svg.svg Add non-animated support for the CSS translate property 2020-10-03 22:07:03 +00:00
translate-and-transform-css-property-in-svg-expected.svg Add non-animated support for the CSS translate property 2020-10-03 22:07:03 +00:00
translate-and-transform-css-property-in-svg.svg Add non-animated support for the CSS translate property 2020-10-03 22:07:03 +00:00
translate-change-composited-expected.html Updating an individual transform CSS property has no visual change when composited 2020-10-15 19:49:00 +00:00
translate-change-composited.html Updating an individual transform CSS property has no visual change when composited 2020-10-15 19:49:00 +00:00
translate-composited-expected.html transform-origin is applied on top of invidivual CSS transform properties on composited layers 2020-10-14 07:17:43 +00:00
translate-composited.html transform-origin is applied on top of invidivual CSS transform properties on composited layers 2020-10-14 07:17:43 +00:00
translate-in-svg-expected.svg Add non-animated support for the CSS translate property 2020-10-03 22:07:03 +00:00
translate-in-svg.svg Add non-animated support for the CSS translate property 2020-10-03 22:07:03 +00:00
translate-transform-order-expected.html Add non-animated support for the CSS translate property 2020-10-03 22:07:03 +00:00
translate-transform-order.html Add non-animated support for the CSS translate property 2020-10-03 22:07:03 +00:00
translate-transform-origin-order-expected.html Add non-animated support for the CSS translate property 2020-10-03 22:07:03 +00:00
translate-transform-origin-order.html Add non-animated support for the CSS translate property 2020-10-03 22:07:03 +00:00
zoom-menulist.html