| Index: Source/core/dom/Position.cpp
|
| diff --git a/Source/core/dom/Position.cpp b/Source/core/dom/Position.cpp
|
| index f40b584c220fcac922d3a32ff2eba68369ba0b9e..3bf180deaa441f9322fe31f1082587ad091de51a 100644
|
| --- a/Source/core/dom/Position.cpp
|
| +++ b/Source/core/dom/Position.cpp
|
| @@ -497,7 +497,7 @@ static bool endsOfNodeAreVisuallyDistinctPositions(Node* node)
|
| return true;
|
|
|
| // There is a VisiblePosition inside an empty inline-block container.
|
| - return node->renderer()->isReplaced() && canHaveChildrenForEditing(node) && toRenderBox(node->renderer())->height() != 0 && !node->firstChild();
|
| + return node->renderer()->isReplaced() && canHaveChildrenForEditing(node) && toRenderBox(node->renderer())->height() != 0 && !node->hasChildren();
|
| }
|
|
|
| static Node* enclosingVisualBoundary(Node* node)
|
|
|