Created attachment 465233 [details] SVG tspan repro with Arabic text An SVG with multiple text tspan renders incorrectly. In the attached example, there are two tspan, the second one has a dx shift, however somehow the shift is applied to a substring of the first tspan. It gives the impression that some characters from the first <tspan> have exchange position with the content of the second <tspan>. Even if this was by design, the rest of the styles are not applied as expected. For example, the "text-anchor: middle" fails to horizontally align the text to the middle.
Created attachment 465234 [details] SVG text tspan with Arabic text rendered in other browsers
Created attachment 465235 [details] SVG text tspan with Arabic text rendered in Safari
<rdar://problem/106406726>