[webkit-changes] [WebKit/WebKit] a32f83: When creating a matrix3d() value the tz component ...

Antoine Quint noreply at github.com
Sat Sep 24 00:51:28 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a32f83928115099a25dd628d9aee6284edd78429
      https://github.com/WebKit/WebKit/commit/a32f83928115099a25dd628d9aee6284edd78429
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2022-09-24 (Sat, 24 Sep 2022)

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

  Log Message:
  -----------
  When creating a matrix3d() value the tz component does not account for zoom
https://bugs.webkit.org/show_bug.cgi?id=245606

Reviewed by Tim Nguyen.

Inside transformsForValue(), in the matrix3d() case, we account for zoom for tx and ty,
but not for tz, although we do when parsing translateZ(). We rectify this and fix the
final subtest of css/css-transforms/animation/transform-interpolation-computed-value.html
thus fixing bug 235807.

* LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/animation/transform-interpolation-computed-value-expected.txt:
* Source/WebCore/css/TransformFunctions.cpp:
(WebCore::transformsForValue):

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




More information about the webkit-changes mailing list