[webkit-changes] [WebKit/WebKit] 3f1e7f: [LBSE] Fix use-on-clip-path-with-transformation.svg
Rob Buis
noreply at github.com
Sun Feb 4 12:23:25 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3f1e7f15120b48bfc0aa895a6783c5c1dfcf4f9a
https://github.com/WebKit/WebKit/commit/3f1e7f15120b48bfc0aa895a6783c5c1dfcf4f9a
Author: Rob Buis <rbuis at igalia.com>
Date: 2024-02-04 (Sun, 04 Feb 2024)
Changed paths:
M LayoutTests/platform/mac-sonoma-wk2-lbse-text/TestExpectations
A LayoutTests/platform/mac-sonoma-wk2-lbse-text/svg/custom/use-on-clip-path-with-transformation-expected.txt
M Source/WebCore/rendering/svg/RenderSVGModelObject.cpp
Log Message:
-----------
[LBSE] Fix use-on-clip-path-with-transformation.svg
https://bugs.webkit.org/show_bug.cgi?id=268283
Reviewed by Nikolas Zimmermann.
pathFromGraphicsElement and the layer transform both contain the use x/y translate, so avoid
calling pathFromGraphicsElement in the use case by instead directly calling pathFromGraphicsElement
on the clip child.
* Source/WebCore/rendering/svg/RenderSVGModelObject.cpp:
(WebCore::RenderSVGModelObject::computeClipPath const):
Canonical link: https://commits.webkit.org/274074@main
More information about the webkit-changes
mailing list