haikuwebkit/LayoutTests/transforms
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
..
2d Updating an individual transform CSS property has no visual change when composited 2020-10-15 19:49:00 +00:00
3d [TextureMapper] Enable a depth buffer for preserve-3d 2020-09-28 20:04:47 +00:00
cssmatrix-2d-interface-expected.txt Alias WebKitCSSMatrix to DOMMatrix 2020-09-27 12:35:28 +00:00
cssmatrix-2d-interface.xhtml
cssmatrix-3d-interface-expected.txt
cssmatrix-3d-interface.xhtml
hittest-translated-content-off-to-infinity-and-back-expected.html
hittest-translated-content-off-to-infinity-and-back.html Element appears correctly but does not receive event with a large translation. 2015-01-16 06:13:45 +00:00
no_transform_hit_testing-expected.txt
no_transform_hit_testing.html
perspective-is-containing-block-for-absolute-expected.html Transform-style should not kill position:fixed 2014-12-12 01:59:37 +00:00
perspective-is-containing-block-for-absolute.html
preserve3d-is-containing-block-for-absolute-expected.html Transform-style should not kill position:fixed 2014-12-12 01:59:37 +00:00
preserve3d-is-containing-block-for-absolute.html Transform-style should not kill position:fixed 2014-12-12 01:59:37 +00:00
svg-vs-css.xhtml
transform-box-expected.html
transform-box.html
transform-is-containing-block-for-absolute-expected.html Transform-style should not kill position:fixed 2014-12-12 01:59:37 +00:00
transform-is-containing-block-for-absolute.html