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

Unified Diff: LayoutTests/editing/selection/deleteFromDocument-expected.txt

Issue 255453003: Let Selection.deleteFromDocument not delete a character when the selection is a caret. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use shouldBeEqualToString instead of shouldBe Created 6 years, 8 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
Index: LayoutTests/editing/selection/deleteFromDocument-expected.txt
diff --git a/LayoutTests/editing/selection/deleteFromDocument-expected.txt b/LayoutTests/editing/selection/deleteFromDocument-expected.txt
index f68ac2b41cf91e8b3e1f66faa2c49781a14425de..151cbeb6dc408b619f9561a6f6f16b5b50d36884 100644
--- a/LayoutTests/editing/selection/deleteFromDocument-expected.txt
+++ b/LayoutTests/editing/selection/deleteFromDocument-expected.txt
@@ -1,7 +1,9 @@
+PASS span1.textContent is "foobar"
+PASS span1.textContent is "foobar"
+PASS span1.firstChild.nextSibling.id is "span2"
+PASS span1.firstChild.nextSibling.firstChild.nodeValue is ""
+PASS test.textContent is "fz"
+PASS successfullyParsed is true
+
+TEST COMPLETE
fz
-Success: span1.textContent is fooar.
-Success: span1.textContent is foar.
-Success: span1.textContent is foar.
-Success: span1.firstChild.nextSibling.id is span2.
-Success: span1.firstChild.nextSibling.firstChild.nodeValue is .
-Success: test.textContent is fz.

Powered by Google App Engine
This is Rietveld 408576698