Bug 198280 - REGRESSION (r238524): SVG textPath cannot be rendered when <text> element is referred by <use> element
Summary: REGRESSION (r238524): SVG textPath cannot be rendered when <text> element is ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-05-27 18:02 PDT by Seiji Ohmori
Modified: 2022-07-16 21:56 PDT (History)
8 users (show)

See Also:


Attachments
Example, <textPath> cannot be rendered by WebkitGTK 2.24 (648 bytes, image/svg+xml)
2019-05-27 18:02 PDT, Seiji Ohmori
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Seiji Ohmori 2019-05-27 18:02:38 PDT
Created attachment 370709 [details]
Example, <textPath> cannot be rendered by WebkitGTK 2.24

When <text> element is referred by <use> element and the <text> element has <textPath> element as a child, the text data cannot be rendered by WebkitGTK 2.24.
WebkitGTK 2.22 could render it. Chrome, Firefox and IE can render it.
Please could you confirm this behavior is a bug?
Comment 1 Said Abou-Hallawa 2019-05-28 12:57:52 PDT
This bug can be reproduced on macOS as well. It is regression from <https://trac.webkit.org/changeset/238524>.
Comment 2 Radar WebKit Bug Importer 2019-05-28 12:58:09 PDT
<rdar://problem/51190665>
Comment 3 Ahmad Saleem 2022-07-14 13:43:33 PDT
I am able to reproduce this in Safari 15.5 / Safari Technical Preview 148 using attached test case. All other browsers render text over the line fine. Thanks!
Comment 4 Ryosuke Niwa 2022-07-16 12:15:32 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2486
Comment 5 Ryosuke Niwa 2022-07-16 12:19:11 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2491
Comment 6 EWS 2022-07-16 21:56:17 PDT
Committed 252547@main (72c9014cf926): <https://commits.webkit.org/252547@main>

Reviewed commits have been landed. Closing PR #2491 and removing active labels.