[webkit-changes] [WebKit/WebKit] ca214b: Blending between scaleZ() and scale() transforms s...

Antoine Quint noreply at github.com
Fri Sep 23 10:13:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ca214b3c337eb572ad9dbc36fbbb09b31fa7f7d2
      https://github.com/WebKit/WebKit/commit/ca214b3c337eb572ad9dbc36fbbb09b31fa7f7d2
  Author: Antoine Quint <graouts at apple.com>
  Date:   2022-09-23 (Fri, 23 Sep 2022)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/animation/transform-interpolation-computed-value-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/animation/transform-interpolation-inline-value-expected.txt
    M Source/WebCore/css/ComputedStyleExtractor.cpp
    M Source/WebCore/platform/graphics/transforms/ScaleTransformOperation.h

  Log Message:
  -----------
  Blending between scaleZ() and scale() transforms should serialize as scale3d()
https://bugs.webkit.org/show_bug.cgi?id=245570

Reviewed by Antti Koivisto.

When blending two ScaleTransformOperation objects, ensure we retain the 3d-ness of a scaleZ() operation,
even if its value is 1, for later serialization. Then, when serializing, don't drop a z=1 value and instead
always serialize a SCALE_3D type as scale3d().

* 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/ScaleTransformOperation.h:

Canonical link: https://commits.webkit.org/254794@main




More information about the webkit-changes mailing list