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

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

Issue 2694043004: Selection API: anchorNode, anchorOffset, focusNode, focusOffset, isCollapsed, and type should be ba… (Closed)
Patch Set: . Created 3 years, 10 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: third_party/WebKit/LayoutTests/editing/deleting/delete-br-001.html
diff --git a/third_party/WebKit/LayoutTests/editing/deleting/delete-br-001.html b/third_party/WebKit/LayoutTests/editing/deleting/delete-br-001.html
index 8f3c0f459ddd370d0a9ed1d34a0869aadae4baea..d37741307640c96aa098119389ee4e93b6e8c225 100644
--- a/third_party/WebKit/LayoutTests/editing/deleting/delete-br-001.html
+++ b/third_party/WebKit/LayoutTests/editing/deleting/delete-br-001.html
@@ -24,9 +24,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 id="c">def');
-testIt(2, 1, 0, 'abc<br id="a"><br id="b">def');
+testIt(2, 1, 3, 'abc<br id="a"><br id="b">def');
testIt(1, 2, 3, 'abc<br id="c">def');
-testIt(2, 2, 0, 'abc<br id="a">def');
+testIt(2, 2, 2, 'abc<br id="a">def');
testIt(2, 3, 3, 'abcdef');
if (window.testRunner)

Powered by Google App Engine
This is Rietveld 408576698