| Index: Source/core/html/HTMLTextFormControlElement.cpp
|
| diff --git a/Source/core/html/HTMLTextFormControlElement.cpp b/Source/core/html/HTMLTextFormControlElement.cpp
|
| index d6470ef46cfe6c21126637ee87e209af787ae120..d9b2c5b31cea91ae5ddde9009fd204eb6d2f5319 100644
|
| --- a/Source/core/html/HTMLTextFormControlElement.cpp
|
| +++ b/Source/core/html/HTMLTextFormControlElement.cpp
|
| @@ -825,7 +825,7 @@ static Position previousIfPositionIsAfterLineBreak(const Position& position, HTM
|
| } else if (position.anchorNode()->isTextNode()) {
|
| Text* textNode = toText(position.anchorNode());
|
| unsigned offset = position.offsetInContainerNode();
|
| - if (textNode->length() == 0 || offset <= 0) {
|
| + if (textNode->length() == 0 || offset == 0) {
|
| return previousIfPositionIsAfterLineBreak(endOfPrevious(*position.anchorNode(), innerEditor), innerEditor);
|
| }
|
|
|
|
|