SVG - incorrect text anchor position when RTL direction is set - by Jan Tošovský

Status : 

  External<br /><br />
		This item may be valid but belongs to an external system out of the direct control of this product team.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

ID 816419 Comments
Status Closed Workarounds
Type Bug Repros 5
Opened 2/2/2014 11:43:14 AM
Access Restriction Public


When a text direction is set to right-to left (direction="rtl"), text anchor is determined incorrectly, see e.g.
Sign in to post a comment.
Posted by Microsoft on 4/4/2016 at 11:12 AM
We've moved! This issue is now being tracked at
Posted by Hani Kaabi on 6/21/2014 at 11:39 PM
Sorry, the comment I just posted is wrong. Silly me.
The posted bug is valid, IE behavior is incorrect and Webkit and Mozilla behavior is correct. I have attached another screenshot to confirm.
Posted by Hani Kaabi on 6/21/2014 at 11:21 PM
Actually, I think IE behavior is correct and this is a bug with Webkit and Mozilla. The specification mentioned ( specifically states:

"It is important to remember that the first and last of these values [start, end] relate to the text in a logical, rather than physical way. "
"start means the place where you would normally begin reading a line "

So when I set "text-anchor: start", IE correctly renders text in the right and text starts form where you should start reading, but Firefox and Webkit render it incorrectly to the left (where you should end reading).
Posted by Microsoft on 2/21/2014 at 8:33 AM
Thank you for your Feedback!

We will be investigating this issue further.

Best Regards,
The Internet Explorer Team