Bug 6485 - Bounding problems with bidi text (rtl) in SVG text nodes
Summary: Bounding problems with bidi text (rtl) in SVG text nodes
Status: CLOSED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.w3.org/Graphics/SVG/Test/2...
Keywords: NeedsReduction
Depends on:
Blocks:
 
Reported: 2006-01-10 19:15 PST by Oliver Hunt
Modified: 2007-06-02 21:43 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.