Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cb5290644a69386cd51a1cc1f8d681f2d275a631
https://github.com/WebKit/WebKit/commit/cb5290644a69386cd51a1cc1f8d681f2d275a631
Author: Said Abou-Hallawa <[email protected]>
Date: 2024-04-10 (Wed, 10 Apr 2024)
Changed paths:
A LayoutTests/svg/filters/filter-on-root-tile-boundary-expected.html
A LayoutTests/svg/filters/filter-on-root-tile-boundary.html
M Source/WebCore/platform/graphics/filters/FilterOperations.cpp
M Source/WebCore/platform/graphics/filters/FilterOperations.h
M Source/WebCore/rendering/RenderLayer.cpp
M Source/WebCore/rendering/svg/SVGRenderingContext.cpp
Log Message:
-----------
REGRESSION(267236@main): SVG may incorrectly be clipped when an SVGFilter is
applied to its root
https://bugs.webkit.org/show_bug.cgi?id=265465
rdar://118938065
Reviewed by Nikolas Zimmermann.
Ensure the SVGFilter is applied only once to the RenderSVGRoot through the SVG
rendering code.
But use the RenderLayerFilters to repaint the referenced SVGFilter clients when
its effects are changed.
* LayoutTests/svg/filters/filter-on-root-tile-boundary-expected.html: Added.
* LayoutTests/svg/filters/filter-on-root-tile-boundary.html: Added.
* Source/WebCore/platform/graphics/filters/FilterOperations.cpp:
(WebCore::FilterOperations::isReferenceFilter const):
* Source/WebCore/platform/graphics/filters/FilterOperations.h:
* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintsWithFilters const):
(WebCore::RenderLayer::calculateClipRects const):
* Source/WebCore/rendering/svg/SVGRenderingContext.cpp:
(WebCore::SVGRenderingContext::prepareToRenderSVGContent):
Canonical link: https://commits.webkit.org/277325@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes