WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
279323
[LegacySVG] Adding 'id's of pending SVG "resource" references does not work for non-resources
https://bugs.webkit.org/show_bug.cgi?id=279323
Summary
[LegacySVG] Adding 'id's of pending SVG "resource" references does not work f...
Ahmad Saleem
Reported
2024-09-08 10:39:22 PDT
Hi Team, While going through SVG text test cases in Blink to see any issue and notice we fail this one. Test Case (from issue tracker):
https://jsfiddle.net/33x1rL2b/
^ It does not show any text in output in Safari 17.6 while it does in Chrome Canary 130. Blink Commit:
https://chromium.googlesource.com/chromium/src.git/+/6a5978f382eca334bfab56ab7409a71e45a51bca
WebKit Source:
https://github.com/WebKit/WebKit/blob/b518f48885b952050847dcfda0a61b946b4efef4/Source/WebCore/svg/SVGTextPathElement.cpp#L163
Here, if we add following, it progress above: CheckedPtr renderer = this->renderer(); if (!renderer) return; if (document().settings().layerBasedSVGEngineEnabled()) { renderer->repaint(); return; } LegacyRenderSVGResource::markForLayoutAndParentResourceInvalidation(*renderer); ___ Only bit, I am not sure whether we need to do this for LBSE or not because if not, we can just do below part: CheckedPtr renderer = this->renderer(); if (!renderer) return; LegacyRenderSVGResource::markForLayoutAndParentResourceInvalidation(*renderer); ___ Just raising so we can fix it. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-09-08 10:39:30 PDT
<
rdar://problem/135509733
>
Ahmad Saleem
Comment 2
2024-09-14 04:20:51 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/33661
EWS
Comment 3
2024-09-14 09:14:20 PDT
Committed
283675@main
(1303a49bf2d3): <
https://commits.webkit.org/283675@main
> Reviewed commits have been landed. Closing PR #33661 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug