Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: LayoutTests/editing/selection/range-surroundContents-with-preceding-node-expected.txt

Issue 25571006: Fix out-of-date offset in selection range code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Better test. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/editing/selection/range-surroundContents-with-preceding-node.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/selection/range-surroundContents-with-preceding-node-expected.txt
diff --git a/LayoutTests/editing/selection/range-surroundContents-with-preceding-node-expected.txt b/LayoutTests/editing/selection/range-surroundContents-with-preceding-node-expected.txt
index ea804500d384556624573f41e555e6a114b996a7..1bd3da65ea99a846009348d5d03b6b62482659a9 100644
--- a/LayoutTests/editing/selection/range-surroundContents-with-preceding-node-expected.txt
+++ b/LayoutTests/editing/selection/range-surroundContents-with-preceding-node-expected.txt
@@ -1,9 +1,9 @@
+PASS range.startContainer.id is rootNode.id
+PASS range.startOffset is 3
+PASS range.endContainer.id is rootNode.id
+PASS range.startOffset is 3
PASS successfullyParsed is true
TEST COMPLETE
-PASS root is root
-PASS 3 is 3
-PASS root is root
-PASS 3 is 3
Test that there is no crash when surroundContents is called with a node preceding the current selection.
« no previous file with comments | « LayoutTests/editing/selection/range-surroundContents-with-preceding-node.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698