RESOLVED FIXED 264184
REGRESSION(264666@main): Layout of the <tspan> elements inside a <textPath> is incorrect
https://bugs.webkit.org/show_bug.cgi?id=264184
Summary REGRESSION(264666@main): Layout of the <tspan> elements inside a <textPath> i...
Said Abou-Hallawa
Reported 2023-11-03 16:12:41 PDT
Created attachment 468478 [details] test case Open the attached test case. Result: The layout of the text inside the circle is incorrect. This affects rendering of the MDN home page: https://developer.mozilla.org/en-US/. This is a regression of 264666@main which was the fix of bug 257160.
Attachments
test case (778 bytes, text/html)
2023-11-03 16:12 PDT, Said Abou-Hallawa
no flags
Said Abou-Hallawa
Comment 1 2023-11-03 16:13:16 PDT
Nikolas Zimmermann
Comment 2 2023-11-03 16:29:40 PDT
Thanks Said dir the reduction. I can have a look early next week…
Nikolas Zimmermann
Comment 3 2023-12-04 02:43:35 PST
Working on it.
Nikolas Zimmermann
Comment 4 2023-12-04 04:44:12 PST
Nikolas Zimmermann
Comment 5 2023-12-04 04:46:00 PST
Got a fix, and incorporated Saids testcase as new test in the PR. However I failed to make a proper reftest for this, as HTML/CSS is missing the primitives to layout text on path, and it's hard to simulate it in a cross-platform way, unless resorting to e.g. Ahem font etc. -- I didn't have the time to investigate, and also don't want to hold back the regression fix any longer.
EWS
Comment 6 2023-12-13 11:41:26 PST
Committed 271996@main (79238bc8e2d6): <https://commits.webkit.org/271996@main> Reviewed commits have been landed. Closing PR #21271 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.