| Index: Source/core/editing/CompositeEditCommand.cpp
|
| diff --git a/Source/core/editing/CompositeEditCommand.cpp b/Source/core/editing/CompositeEditCommand.cpp
|
| index ae7cebfceb0bea5a4f958b37bce6d3728d014522..0bf3580bb4a95d9b456a3c0698bcaba3e9c42cad 100644
|
| --- a/Source/core/editing/CompositeEditCommand.cpp
|
| +++ b/Source/core/editing/CompositeEditCommand.cpp
|
| @@ -1117,7 +1117,7 @@ void CompositeEditCommand::moveParagraphWithClones(const VisiblePosition& startO
|
| beforeParagraph = VisiblePosition(beforeParagraph.deepEquivalent());
|
| afterParagraph = VisiblePosition(afterParagraph.deepEquivalent());
|
|
|
| - if (beforeParagraph.isNotNull() && !isTableElement(beforeParagraph.deepEquivalent().deprecatedNode())
|
| + if (beforeParagraph.isNotNull() && !isRenderedTable(beforeParagraph.deepEquivalent().deprecatedNode())
|
| && ((!isEndOfParagraph(beforeParagraph) && !isStartOfParagraph(beforeParagraph)) || beforeParagraph == afterParagraph)) {
|
| // FIXME: Trim text between beforeParagraph and afterParagraph if they aren't equal.
|
| insertNodeAt(createBreakElement(document()), beforeParagraph.deepEquivalent());
|
|
|