| Index: third_party/WebKit/LayoutTests/editing/inserting/insert_html_to_replace_selection.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/inserting/insert_html_to_replace_selection.html b/third_party/WebKit/LayoutTests/editing/inserting/insert_html_to_replace_selection.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5fe90c70c0877772c1cd13c6e5cae71adfe6d30e
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/editing/inserting/insert_html_to_replace_selection.html
|
| @@ -0,0 +1,12 @@
|
| +<!doctype html>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script src="../assert_selection.js"></script>
|
| +<div id="log"></div>
|
| +<script>
|
| +test(() => assert_selection(
|
| + '<div contenteditable>A new ^link|</div>',
|
| + 'insertHTML <a href="http://www.google.com">link</a>',
|
| + '<div contenteditable>A new\u{00A0}<a href="http://www.google.com">link|</a></div>'),
|
| + 'Replace selection by insertHTML');
|
| +</script>
|
|
|