Index: Source/core/dom/Position.cpp |
diff --git a/Source/core/dom/Position.cpp b/Source/core/dom/Position.cpp |
index 9527031845c8f97d0286f92dffeb88f81c7adb39..71499a0276695279437bc9fcd131249752baca18 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 element are movings so we should assume the element's position |
leviw_travelin_and_unemployed
2014/02/14 04:57:46
I'd change this to something like "Marquee element
yoichio
2014/02/19 08:00:30
Done.
|
+ // is always distinct from the node's one. |
+ 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(); |
} |