[webkit-changes] [WebKit/WebKit] 99265d: Nested use of same SVG resource fails

Ryosuke Niwa noreply at github.com
Fri May 26 20:52:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 99265dce4d2f8db13b22db2f9018e15cd666bc03
      https://github.com/WebKit/WebKit/commit/99265dce4d2f8db13b22db2f9018e15cd666bc03
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-05-26 (Fri, 26 May 2023)

  Changed paths:
    A LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-1-expected.txt
    A LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-1.html
    A LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-2-expected.txt
    A LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-2.html
    A LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-3-expected.txt
    A LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-3.html
    A LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-4-expected.txt
    A LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-4.html
    A LayoutTests/svg/custom/pattern-directly-and-indirectly-referenced-expected.svg
    A LayoutTests/svg/custom/pattern-directly-and-indirectly-referenced.svg
    A LayoutTests/svg/custom/pattern-false-resource-cycle-expected.html
    A LayoutTests/svg/custom/pattern-false-resource-cycle.html
    A LayoutTests/svg/custom/pattern-within-other-pattern-expected.html
    A LayoutTests/svg/custom/pattern-within-other-pattern.html
    M Source/WebCore/rendering/svg/SVGResourcesCache.cpp
    M Source/WebCore/rendering/svg/SVGResourcesCycleSolver.cpp
    M Source/WebCore/rendering/svg/SVGResourcesCycleSolver.h

  Log Message:
  -----------
  Nested use of same SVG resource fails
https://bugs.webkit.org/show_bug.cgi?id=130127

Reviewed by Said Abou-Hallawa.

Merge https://src.chromium.org/viewvc/blink?view=revision&revision=175129

* LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-1-expected.txt: Added.
* LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-1.html: Added.
* LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-2-expected.txt: Added.
* LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-2.html: Added.
* LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-3-expected.txt: Added.
* LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-3.html: Added.
* LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-4-expected.txt: Added.
* LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-4.html: Added.
* LayoutTests/svg/custom/pattern-directly-and-indirectly-referenced-expected.svg: Added.
* LayoutTests/svg/custom/pattern-directly-and-indirectly-referenced.svg: Added.
* LayoutTests/svg/custom/pattern-false-resource-cycle-expected.html: Added.
* LayoutTests/svg/custom/pattern-false-resource-cycle.html: Added.
* LayoutTests/svg/custom/pattern-within-other-pattern-expected.html: Added.
* LayoutTests/svg/custom/pattern-within-other-pattern.html: Added.
* Source/WebCore/rendering/svg/SVGResourcesCycleSolver.cpp:
(WebCore::SVGResourcesCycleSolver::SVGResourcesCycleSolver): Deleted.
(WebCore::SVGResourcesCycleSolver::resourceContainsCycles):
(WebCore::SVGResourcesCycleSolver::resolveCycles):
(WebCore::SVGResourcesCycleSolver::breakCycle):
* Source/WebCore/rendering/svg/SVGResourcesCycleSolver.h:
(WebCore::SVGResourcesCycleSolver::SVGResourcesCycleSolver):

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




More information about the webkit-changes mailing list