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

Unified Diff: third_party/WebKit/LayoutTests/editing/assert_selection.html

Issue 2155793002: The parameter of the tester should have spaces in assert_selection() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/assert_selection.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/assert_selection.html
diff --git a/third_party/WebKit/LayoutTests/editing/assert_selection.html b/third_party/WebKit/LayoutTests/editing/assert_selection.html
index 9f470c7079bf2d22560144abfadf51d6be77cb04..4af095e9cef76703f8135b42668dbcdc5f3296de 100644
--- a/third_party/WebKit/LayoutTests/editing/assert_selection.html
+++ b/third_party/WebKit/LayoutTests/editing/assert_selection.html
@@ -114,4 +114,11 @@ test(() => {
`\t but got foo,\n` +
`\t sameupto fo`);
}, 'Compare result');
+
+test(() => {
+ assert_selection(
+ '<div contenteditable><p>^test|</p></div>',
+ 'insertHTML <span style="color: green">green</span>',
+ '<div contenteditable><p><span style="color: green">green|</span></p></div>');
+}, 'multiple spaces in function');
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/assert_selection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698