[webkit-changes] [WebKit/WebKit] f868c0: [LBSE] Fix svg/clip-path/clip-path-css-transform-0...

Rob Buis noreply at github.com
Thu Jan 18 03:12:03 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f868c02ee960ff767c5d4ce6693385dec291b7e3
      https://github.com/WebKit/WebKit/commit/f868c02ee960ff767c5d4ce6693385dec291b7e3
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

  Changed paths:
    M LayoutTests/platform/mac-sonoma-wk2-lbse-text/TestExpectations
    M Source/WebCore/svg/SVGClipPathElement.cpp
    M Source/WebCore/svg/SVGMaskElement.cpp

  Log Message:
  -----------
  [LBSE] Fix svg/clip-path/clip-path-css-transform-002.svg
https://bugs.webkit.org/show_bug.cgi?id=267624

Reviewed by Nikolas Zimmermann.

When calculating the clip/mask repaint rects, we need to not
only take child transforms into account but also the clip/mask
transform.

* LayoutTests/platform/mac-sonoma-wk2-lbse-text/TestExpectations:
* Source/WebCore/svg/SVGClipPathElement.cpp:
(WebCore::SVGClipPathElement::calculateClipContentRepaintRect):
* Source/WebCore/svg/SVGMaskElement.cpp:
(WebCore::SVGMaskElement::calculateMaskContentRepaintRect):

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




More information about the webkit-changes mailing list