| Index: Source/WebCore/rendering/RenderBox.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderBox.cpp (revision 122238)
|
| +++ Source/WebCore/rendering/RenderBox.cpp (working copy)
|
| @@ -3258,7 +3258,7 @@
|
|
|
| LayoutUnit logicalLeftPos = logicalLeftValue + marginLogicalLeftAlias;
|
| computeLogicalLeftPositionedOffset(logicalLeftPos, this, logicalWidth(), containerBlock, containerLogicalWidth);
|
| - setLogicalLeft(logicalLeftPos);
|
| + setLogicalLeft(logicalLeftPos.round());
|
| }
|
|
|
| void RenderBox::computePositionedLogicalHeightReplaced()
|
| @@ -3387,7 +3387,7 @@
|
| // Use computed values to calculate the vertical position.
|
| LayoutUnit logicalTopPos = logicalTopValue + marginBeforeAlias;
|
| computeLogicalTopPositionedOffset(logicalTopPos, this, logicalHeight(), containerBlock, containerLogicalHeight);
|
| - setLogicalTop(logicalTopPos);
|
| + setLogicalTop(logicalTopPos.round());
|
| }
|
|
|
| LayoutRect RenderBox::localCaretRect(InlineBox* box, int caretOffset, LayoutUnit* extraWidthToEndOfLine)
|
|
|