-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[LBSE] Fix pattern related assertion failure in debug builds #23605
[LBSE] Fix pattern related assertion failure in debug builds #23605
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Maybe correct the commit message from "the following assertion" to "the assertion mentioned in the bug" or something like that.
EWS run on previous version of this PR (hash b08c711) |
Stupid me, changing the test alone is not an option, it also needs to run with LBSE or we need two variants of the patch. |
b08c711
to
3645920
Compare
EWS run on previous version of this PR (hash 3645920) |
Need to wait for EWS to grab platform specific results for iOS, Gtk, WPE, win,... |
Will do upon the next iteration. |
3645920
to
0db06b0
Compare
EWS run on current version of this PR (hash 0db06b0) |
https://bugs.webkit.org/show_bug.cgi?id=268488 Reviewed by Rob Buis. Fix incorrect cycle handling for pattern resources, not correctly taking chained resource (href/xlink:href references) into account, leading to the following assertion in debug builds in svg/custom/recursive-pattern.svg and svg/custom/pattern-content-inheritance-cycle.svg. Covered by existing tests. Combined changes: * LayoutTests/platform/glib/svg/custom/recursive-pattern-expected.png: Added. * LayoutTests/platform/glib/svg/custom/recursive-pattern-expected.txt: * LayoutTests/platform/ios/svg/custom/recursive-pattern-expected.txt: * LayoutTests/platform/mac-sonoma-wk2-lbse-text/svg/custom/recursive-pattern-expected.png: * LayoutTests/platform/mac-sonoma-wk2-lbse-text/svg/custom/recursive-pattern-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/svg/custom/recursive-pattern-expected.png: Removed. * LayoutTests/platform/mac/svg/custom/recursive-pattern-expected.png: * LayoutTests/platform/mac/svg/custom/recursive-pattern-expected.txt: * LayoutTests/svg/custom/recursive-pattern.svg: * Source/WebCore/rendering/svg/RenderSVGResourcePattern.cpp: (WebCore::RenderSVGResourcePattern::prepareFillOperation): (WebCore::RenderSVGResourcePattern::prepareStrokeOperation): (WebCore::RenderSVGResourcePattern::createTileImage const): Canonical link: https://commits.webkit.org/273944@main
0db06b0
to
b0b381f
Compare
Committed 273944@main (b0b381f): https://commits.webkit.org/273944@main Reviewed commits have been landed. Closing PR #23605 and removing active labels. |
b0b381f
0db06b0
π wincairoπ§ͺ wpe-wk2π§ͺ ios-wk2π§ͺ api-macπ§ͺ ios-wk2-wptπ§ͺ mac-wk1π§ͺ mac-wk2π§ͺ gtk-wk2π tvπ§ͺ mac-AS-debug-wk2π§ͺ api-gtkπ tv-simπ watchπ watch-sim