Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Blending between two rotateZ() transform values should serialize as r…
…otate3d() https://bugs.webkit.org/show_bug.cgi?id=245527 Reviewed by Antti Koivisto. We didn't have a way to differentiate a rotation provided as rotateZ() rather than rotate(). We now keep a distinct OperationType value for ROTATE_Z and ensure we never simplify to the ROTATE type in the primitiveType() override of RotateTransformOperation. We also fix computedTransform() to correctly use the angle rather than the individual axis for the rotateX/Y/Z functions. * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/animation/transform-interpolation-computed-value-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/animation/transform-interpolation-inline-value-expected.txt: * Source/WebCore/css/ComputedStyleExtractor.cpp: (WebCore::computedTransform): * Source/WebCore/platform/graphics/transforms/RotateTransformOperation.h: * Source/WebCore/platform/graphics/transforms/TransformOperation.cpp: * Source/WebCore/platform/graphics/transforms/TransformOperation.h: Canonical link: https://commits.webkit.org/254782@main
- Loading branch information
Showing
6 changed files
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters