[webkit-changes] [WebKit/WebKit] c63c8c: [LBSE] Fix pattern related dynamic-updates tests

Rob Buis noreply at github.com
Fri Feb 2 05:37:25 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c63c8c15979ad610c3b40b7c374f8a388c1c51cc
      https://github.com/WebKit/WebKit/commit/c63c8c15979ad610c3b40b7c374f8a388c1c51cc
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2024-02-02 (Fri, 02 Feb 2024)

  Changed paths:
    M LayoutTests/platform/mac-sonoma-wk2-lbse-text/TestExpectations
    R LayoutTests/platform/mac-sonoma-wk2-lbse-text/svg/custom/pattern-size-bigger-than-target-size-expected.png
    M Source/WebCore/rendering/svg/RenderSVGResourcePattern.cpp
    M Source/WebCore/svg/SVGPatternElement.cpp

  Log Message:
  -----------
  [LBSE] Fix pattern related dynamic-updates tests
https://bugs.webkit.org/show_bug.cgi?id=268610

Reviewed by Nikolas Zimmermann.

Make sure changing animated properties like x, y, width, height, etc.
invalidate the pattern.

This PR also fixes a last minute change from r273757.

* LayoutTests/platform/mac-sonoma-wk2-lbse-text/TestExpectations:
* LayoutTests/platform/mac-sonoma-wk2-lbse-text/svg/custom/pattern-size-bigger-than-target-size-expected.png: Removed.
* Source/WebCore/rendering/svg/RenderSVGResourcePattern.cpp:
(WebCore::RenderSVGResourcePattern::buildPattern):
* Source/WebCore/svg/SVGPatternElement.cpp:
(WebCore::SVGPatternElement::svgAttributeChanged):

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




More information about the webkit-changes mailing list