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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/selection_remove_children.html

Issue 2695193002: Selection API: setBaseAndExtent() and selectAllChildren() should create new Range based on the spec… (Closed)
Patch Set: rebase 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/selection/selection_remove_children.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/selection_remove_children.html b/third_party/WebKit/LayoutTests/editing/selection/selection_remove_children.html
index 745510cf82ae17e9ea633b20b68eed6c68557d20..f61b48e8ce667d71d6576eb782be3fd8d355032b 100644
--- a/third_party/WebKit/LayoutTests/editing/selection/selection_remove_children.html
+++ b/third_party/WebKit/LayoutTests/editing/selection/selection_remove_children.html
@@ -14,7 +14,7 @@ test(() => assert_selection(
sample.firstChild.focus();
sample.innerHTML = '';
},
- '|<div id="sample"></div>'),
+ '<div id="sample">|</div>'),
'Select by blur');
test(() => assert_selection(
@@ -25,6 +25,6 @@ test(() => assert_selection(
() => selection.selectAllChildren(sample), true);
sample.innerHTML = '';
},
- '|<div id="sample"></div>'),
+ '<div id="sample">|</div>'),
'Select by mutation event');
</script>

Powered by Google App Engine
This is Rietveld 408576698