| Index: third_party/WebKit/LayoutTests/editing/selection/move-left-right.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/selection/move-left-right.html b/third_party/WebKit/LayoutTests/editing/selection/move-left-right.html
|
| index 4b90e5b74542cc64c57758c2f493abc06dfae08e..9a91f7245ae71c6f8a1cb26f65188699d02c7aaa 100644
|
| --- a/third_party/WebKit/LayoutTests/editing/selection/move-left-right.html
|
| +++ b/third_party/WebKit/LayoutTests/editing/selection/move-left-right.html
|
| @@ -41,9 +41,9 @@
|
| {
|
| var positions = [];
|
| while (true) {
|
| - positions.push({ node: sel.anchorNode, offset: sel.anchorOffset, point: caretCoordinates() });
|
| + positions.push({ node: internals.visibleSelectionAnchorNode, offset: internals.visibleSelectionAnchorOffset, point: caretCoordinates() });
|
| sel.modify("move", direction, "character");
|
| - if (positions[positions.length - 1].node == sel.anchorNode && positions[positions.length - 1].offset == sel.anchorOffset)
|
| + if (positions[positions.length - 1].node == internals.visibleSelectionAnchorNode && positions[positions.length - 1].offset == internals.visibleSelectionAnchorOffset)
|
| break;
|
| };
|
| return positions;
|
|
|