| Index: Source/core/dom/Position.cpp
|
| diff --git a/Source/core/dom/Position.cpp b/Source/core/dom/Position.cpp
|
| index 91832edc39b792473d96ebd2990dda61b96dbd7f..84444522498032e9a79a62c611eded9c4dd64b0f 100644
|
| --- a/Source/core/dom/Position.cpp
|
| +++ b/Source/core/dom/Position.cpp
|
| @@ -547,6 +547,11 @@ static bool endsOfNodeAreVisuallyDistinctPositions(Node* node)
|
| if (node->hasTagName(tableTag))
|
| return false;
|
|
|
| + // A Marquee elements are moving so we should assume their ends are always
|
| + // visibily distinct.
|
| + if (node->hasTagName(marqueeTag))
|
| + 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();
|
| }
|
|
|