https://bugs.webkit.org/show_bug.cgi?id=219863
Reviewed by Simon Fraser.
LayoutTests/imported/w3c:
Rebaseline some WPT test outputs, resulting in round numbers for animated transform output, including a few new PASS results.
* web-platform-tests/css/css-transforms/animation/transform-interpolation-computed-value-expected.txt:
* web-platform-tests/css/css-transforms/animation/transform-matrix-composition-expected.txt:
* web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-002-expected.txt:
* web-platform-tests/web-animations/animation-model/keyframe-effects/effect-value-iteration-composite-operation-expected.txt:
* web-platform-tests/web-animations/interfaces/Animation/commitStyles-expected.txt:
Source/WebCore:
Optimize two simple cases for transform blending. First, use matrices as-is for the cases when we blend with
progress equal to 0 or 1. Then, when rotating around an angle that's an increment of 360º, simply return the
existing matrix.
* platform/graphics/transforms/TransformationMatrix.cpp:
(WebCore::TransformationMatrix::rotate):
(WebCore::TransformationMatrix::blend):
LayoutTests:
Rebaselining test output where -0 values are now +0.
* compositing/backing/animate-into-view-expected.txt:
* compositing/backing/animate-into-view-with-descendant-expected.txt:
Canonical link: https://commits.webkit.org/232455@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270801 268f45cc-cd09-0410-ab3c-d52691b4dbfc