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

Unified Diff: LayoutTests/editing/deleting/delete-and-cleanup.html

Issue 14969020: Avoid adding placeholder when deleting last text in root (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed bad TestExpectations behavior and unnecessary results churn. Created 7 years, 7 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/deleting/delete-and-cleanup.html
diff --git a/LayoutTests/editing/deleting/delete-and-cleanup.html b/LayoutTests/editing/deleting/delete-and-cleanup.html
index da5c93bf814f2470694c4b1d0814fce9815cc7e4..c6c278d86c714407770ad7d2b100c7d86d63f77e 100644
--- a/LayoutTests/editing/deleting/delete-and-cleanup.html
+++ b/LayoutTests/editing/deleting/delete-and-cleanup.html
@@ -33,7 +33,7 @@ function testDelete(tagName, originalMarkup, expected) {
shouldBe("confirmedMarkup", "'" + expected + "'");
}
-testDelete("div", "Hello", "<br>");
+testDelete("div", "Hello", "");
testDelete("div", "<div>Hello</div>", "<br>");
testDelete("div", "<div id=\"mydiv\">Hello</div>", "<div id=\"mydiv\"><br></div>");
testDelete("div", "<div><div>Hello</div></div>", "<br>");

Powered by Google App Engine
This is Rietveld 408576698