NEW 270737
[LegacySVG] Transformed (rotated) text in SVG is not displayed correctly or not displayed at all
https://bugs.webkit.org/show_bug.cgi?id=270737
Summary [LegacySVG] Transformed (rotated) text in SVG is not displayed correctly or n...
Alexey Karimov
Reported 2024-03-09 04:29:31 PST
Created attachment 470257 [details] Sample SVG file which shows the problem with transformed text SVG chart with transformed text is not rendered correctly. In particular, the bar labels are not positioned properly. Please, see the attached file (please ignore the lack of styling, the chart was extracted from a page where it was displayed as a minimal reproduction sample). In Chrome and Firefox it's being rendered correctly, while in Safari it is not. Tried both in Safari (stable) and Safari Technology Preview
Attachments
Sample SVG file which shows the problem with transformed text (24.59 KB, image/svg+xml)
2024-03-09 04:29 PST, Alexey Karimov
no flags
Sample SVG file viewed in Firefox (191.80 KB, image/png)
2024-03-09 04:31 PST, Alexey Karimov
no flags
Sample SVG file viewed in Safari Technology Preview (113.39 KB, image/png)
2024-03-09 04:31 PST, Alexey Karimov
no flags
Alexey Karimov
Comment 1 2024-03-09 04:31:07 PST
Created attachment 470259 [details] Sample SVG file viewed in Firefox
Alexey Karimov
Comment 2 2024-03-09 04:31:51 PST
Created attachment 470260 [details] Sample SVG file viewed in Safari Technology Preview
Alexey Karimov
Comment 3 2024-03-09 04:33:47 PST
Here is the version of Safari Technology Preview the issue was encountered in: Release 190 (Safari 17.4, WebKit 19619.1.5.5.2) And AFAICT, this same issue was in earlier versions too. Stable Safari (17.4) also has this issue, so it doesn't seem to be a regression.
Ahmad Saleem
Comment 4 2024-03-09 15:57:21 PST
Just to update - Layer-based SVG engine works and this bug is reproducible in Legacy SVG Engine on WebKit ToT (275874@main).
Radar WebKit Bug Importer
Comment 5 2024-03-16 05:30:15 PDT
Note You need to log in before you can comment on or make changes to this bug.