diff options
Diffstat (limited to 'WebCore/wml/WMLTableElement.cpp')
-rw-r--r-- | WebCore/wml/WMLTableElement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/wml/WMLTableElement.cpp b/WebCore/wml/WMLTableElement.cpp index eb22503..ed3522d 100644 --- a/WebCore/wml/WMLTableElement.cpp +++ b/WebCore/wml/WMLTableElement.cpp @@ -231,7 +231,7 @@ void WMLTableElement::alignCells(Vector<WMLElement*>& columnElements, WMLElement bool rtl = false; if (RenderObject* renderer = rowElement->renderer()) { if (RenderStyle* style = renderer->style()) - rtl = style->direction() == RTL; + rtl = !style->isLeftToRightDirection(); } rowElement->setAttribute(HTMLNames::alignAttr, rtl ? "right" : "left"); |