Fixed typo.



git-svn-id: svn://svn.chromium.org/blink/trunk@42686 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 405f8493
......@@ -407,7 +407,7 @@ IntRect RenderText::localCaretRect(InlineBox* inlineBox, int caretOffset, int* e
if (box->direction() == LTR)
left = min(left, rootLeft + availableWidth - caretWidthRightOfOffset);
else
left = max(left, cb->width());
left = max(left, cb->x());
} else {
// If there is no wrapping, the caret can leave its containing block, but not its root line box.
if (cb->style()->direction() == LTR) {
......
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