diff options
Diffstat (limited to 'Source/WebCore/rendering/RenderTable.cpp')
-rw-r--r-- | Source/WebCore/rendering/RenderTable.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebCore/rendering/RenderTable.cpp b/Source/WebCore/rendering/RenderTable.cpp index 7730828a4..3eac69200 100644 --- a/Source/WebCore/rendering/RenderTable.cpp +++ b/Source/WebCore/rendering/RenderTable.cpp @@ -575,9 +575,11 @@ void RenderTable::paintObject(PaintInfo& paintInfo, const LayoutPoint& paintOffs info.phase = paintPhase; info.updatePaintingRootForChildren(this); + IntPoint alignedOffset = roundedIntPoint(paintOffset); + for (RenderObject* child = firstChild(); child; child = child->nextSibling()) { if (child->isBox() && !toRenderBox(child)->hasSelfPaintingLayer() && (child->isTableSection() || child->isTableCaption())) { - LayoutPoint childPoint = flipForWritingModeForChild(toRenderBox(child), paintOffset); + LayoutPoint childPoint = flipForWritingModeForChild(toRenderBox(child), alignedOffset); child->paint(info, childPoint); } } |