| Index: Source/core/editing/VisibleUnits.cpp
|
| diff --git a/Source/core/editing/VisibleUnits.cpp b/Source/core/editing/VisibleUnits.cpp
|
| index 6041d27367becdd61e0ab953b24de07433efc390..4361a1463e58e956a5f336c4d54ead3f111cdb45 100644
|
| --- a/Source/core/editing/VisibleUnits.cpp
|
| +++ b/Source/core/editing/VisibleUnits.cpp
|
| @@ -1150,7 +1150,7 @@ VisiblePosition startOfParagraph(const VisiblePosition& c, EditingBoundaryCrossi
|
| node = n;
|
| offset = 0;
|
| n = NodeTraversal::previousPostOrder(n, startBlock);
|
| - } else if (editingIgnoresContent(n) || isTableElement(n)) {
|
| + } else if (editingIgnoresContent(n) || isRenderedTable(n)) {
|
| node = n;
|
| type = Position::PositionIsBeforeAnchor;
|
| n = n->previousSibling() ? n->previousSibling() : NodeTraversal::previousPostOrder(n, startBlock);
|
| @@ -1226,7 +1226,7 @@ VisiblePosition endOfParagraph(const VisiblePosition &c, EditingBoundaryCrossing
|
| node = n;
|
| offset = r->caretMaxOffset();
|
| n = NodeTraversal::next(n, stayInsideBlock);
|
| - } else if (editingIgnoresContent(n) || isTableElement(n)) {
|
| + } else if (editingIgnoresContent(n) || isRenderedTable(n)) {
|
| node = n;
|
| type = Position::PositionIsAfterAnchor;
|
| n = NodeTraversal::nextSkippingChildren(n, stayInsideBlock);
|
|
|