Bug 6485

Summary: Bounding problems with bidi text (rtl) in SVG text nodes
Product: WebKit Reporter: Oliver Hunt <oliver>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: CLOSED WORKSFORME    
Severity: Normal CC: ian, mitz
Priority: P2 Keywords: NeedsReduction
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: http://www.w3.org/Graphics/SVG/Test/20030813/htmlframe/full-text-intro-02-b.html

Description Oliver Hunt 2006-01-10 19:15:23 PST
RTL text appears to use a margin too far to the right (eg. outside of SVG clipping region.  See the two rtl 
examples in the referenced W3C test.
Comment 1 mitz 2006-01-13 07:26:04 PST
The problem is not RTL per se but rather the text-align property. If you set text-align to left explicitly on 
the rtl example, they render correctly. On the other hand, setting text-align to center or right on any text 
moves it too far to the right.

I don't know what (if anything) text-align should mean in SVG, so I have no idea about how this should be 
fixed.
Comment 2 Oliver Hunt 2007-06-02 21:43:50 PDT
Closing, this was fixed as a byproduct of the text fixes from late last year.