| Index: third_party/WebKit/LayoutTests/editing/execCommand/insert_horizontal_rule.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/insert_horizontal_rule.html b/third_party/WebKit/LayoutTests/editing/execCommand/insert_horizontal_rule.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..697c71dff9bf02d5d30629855c7f12822fba11cc
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/editing/execCommand/insert_horizontal_rule.html
|
| @@ -0,0 +1,17 @@
|
| +<!doctype html>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script src="../assert_selection.js"></script>
|
| +<script>
|
| +test(() => assert_selection(
|
| + '<div contenteditable>foo|bar</div>',
|
| + 'insertHorizontalRule',
|
| + '<div contenteditable>foo<hr>|bar</div>'),
|
| + 'Insert HR between foo and bar');
|
| +
|
| +test(() => assert_selection(
|
| + '<div contenteditable>foo|bar</div>',
|
| + 'insertHorizontalRule abc',
|
| + '<div contenteditable>foo<hr id="abc">|bar</div>'),
|
| + 'Insert HR with id "abc" between foo and bar');
|
| +</script>
|
|
|