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

Unified Diff: third_party/WebKit/LayoutTests/editing/deleting/typing_one_character_delete_crash.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/deleting/typing_one_character_delete_crash.html
diff --git a/third_party/WebKit/LayoutTests/editing/deleting/typing_one_character_delete_crash.html b/third_party/WebKit/LayoutTests/editing/deleting/typing_one_character_delete_crash.html
index 6256ea039452d516d88d713288f1a5737072b59c..fc3250829f468632127ec894c7d5c21eb25f5780 100644
--- a/third_party/WebKit/LayoutTests/editing/deleting/typing_one_character_delete_crash.html
+++ b/third_party/WebKit/LayoutTests/editing/deleting/typing_one_character_delete_crash.html
@@ -13,9 +13,6 @@
selection.document.execCommand('insertText', false, 'x');
selection.document.execCommand('delete');
},
- // TODO(yosin): Once visible position canonicalization is fixed,
- // the expectation should be:
- // '<div contenteditable>|<div><span></span></div></div>'
- '<div contenteditable><div><span></span></div></div>'),
+ '<div contenteditable><div><span>|</span></div></div>'),
'Should not crash after typing one chracter then delete it');
</script>

Powered by Google App Engine
This is Rietveld 408576698