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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/unrendered-space.html

Issue 2697313005: Selection API: collapse() should recreate an internal Range. (Closed)
Patch Set: Add NeedsRebaseline for platform-dependent tests 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/unrendered-space.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/unrendered-space.html b/third_party/WebKit/LayoutTests/editing/selection/unrendered-space.html
index d921ba31686ccc0177ceea826738a012cacd047e..ab0eafb5c55f2f90f342152ec870a8c2bc533441 100644
--- a/third_party/WebKit/LayoutTests/editing/selection/unrendered-space.html
+++ b/third_party/WebKit/LayoutTests/editing/selection/unrendered-space.html
@@ -10,6 +10,6 @@ test(() => assert_selection(
var text = div.firstChild;
selection.collapse(text, text.length);
},
- '<div contenteditable id="div">foo|\n<div>bar</div></div>'),
+ '<div contenteditable id="div">foo\n|<div>bar</div></div>'),
'Visible position creation in unrenderer space after renderer text.');
</script>

Powered by Google App Engine
This is Rietveld 408576698