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
REGRESSION (r238524): SVG textPath cannot be rendered when <text> element is referred by <use> element #2491
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.
Makes sense to me.
fast/text/international/system-language/han-text-style.html is most certainly not regressed by this patch. |
Correct. This test has been failing for a while on EWS. Please feel free to disregard the failure; I'm looking at it elsewhere. |
Yeah, I noticed. We should probably mark as failing to speed up EWS / merge queue. |
This is tracked in https://bugs.webkit.org/show_bug.cgi?id=242840. |
…ment is referred by <use> element https://bugs.webkit.org/show_bug.cgi?id=198280 Reviewed by Myles C. Maxfield. The bug was caused by targetElementFromIRIString looking for a matching element in the use element's UA shadow tree instead of the outer tree which defined the content of use element's shadow tree. Fixed the bug by looking for the matching element in the tree that contains the use element instead. * LayoutTests/svg/dom/use-element-reference-within-use-shadow-tree-expected.html: Added. * LayoutTests/svg/dom/use-element-reference-within-use-shadow-tree.html: Added. * Source/WebCore/svg/SVGURIReference.cpp: (WebCore::SVGURIReference::targetElementFromIRIString): Fixed the bug. Canonical link: https://commits.webkit.org/252547@main
b15349b
to
72c9014
Compare
Committed 252547@main (72c9014): https://commits.webkit.org/252547@main Reviewed commits have been landed. Closing PR #2491 and removing active labels. |
72c9014