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

Unified Diff: LayoutTests/editing/deleting/delete-br-001.html

Issue 23311004: inline <br> does not get deleted when following some non-textual content (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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-br-001.html
diff --git a/LayoutTests/editing/deleting/delete-br-001.html b/LayoutTests/editing/deleting/delete-br-001.html
index a5cd2a3c1e34d4796cc0c23e9a48317e4cecfc98..99a6390c3d65a6fabe3f22696af5fee97c391b95 100644
--- a/LayoutTests/editing/deleting/delete-br-001.html
+++ b/LayoutTests/editing/deleting/delete-br-001.html
@@ -23,9 +23,9 @@ function testIt(nth, numberOfDeletes, expectedOffset, expectedHTML) {
}
testIt(0, 1, 3, 'abc<br id="b"><br id="c">def');
-testIt(1, 1, 2, 'abc<br id="a"><br>def');
+testIt(1, 1, 2, 'abc<br id="a"><br id="c">def');
leviw_travelin_and_unemployed 2013/08/19 18:14:25 Why did you make this change?
arpitab_ 2013/08/22 14:12:35 The sample html is: 'abc<br id="a"><br id="b"><br
testIt(2, 1, 0, 'abc<br id="a"><br id="b">def');
-testIt(1, 2, 3, 'abc<br>def');
+testIt(1, 2, 3, 'abc<br id="c">def');
testIt(2, 2, 0, 'abc<br id="a">def');
testIt(2, 3, 3, 'abcdef');

Powered by Google App Engine
This is Rietveld 408576698