Commit 68b0e2ba authored by oliver's avatar oliver

2006-11-06 Oliver Hunt <oliver@apple.com>

        Reviewed by Maciej.

        Fix RTL text in SVG to have correct positioning

        * rendering/SVGRootInlineBox.cpp:
        (WebCore::SVGRootInlineBox::placeBoxesHorizontally):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent fdfb9d6f
2006-11-06 Oliver Hunt <oliver@apple.com>
Reviewed by Maciej.
Fix RTL text in SVG to have correct positioning
* rendering/SVGRootInlineBox.cpp:
(WebCore::SVGRootInlineBox::placeBoxesHorizontally):
2006-11-06 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Maciej.
......@@ -38,6 +38,10 @@ void SVGRootInlineBox::paint(RenderObject::PaintInfo& paintInfo, int parentX, in
int SVGRootInlineBox::placeBoxesHorizontally(int x, int& leftPosition, int& rightPosition, bool& needsWordSpacing)
{
//remove any offsets caused by RTL text layout
x = 0;
leftPosition = 0;
rightPosition = 0;
return placeSVGFlowHorizontally(this, x, leftPosition, rightPosition, needsWordSpacing);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment