| Index: third_party/WebKit/LayoutTests/editing/execCommand/indent-empty-root.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/indent-empty-root.html b/third_party/WebKit/LayoutTests/editing/execCommand/indent-empty-root.html
|
| index fb762ff4c1b7258bfcb15498a696a1d67c8dbbf7..591007a55c3d3c9e4f1ba3891221ce30d5c8337d 100644
|
| --- a/third_party/WebKit/LayoutTests/editing/execCommand/indent-empty-root.html
|
| +++ b/third_party/WebKit/LayoutTests/editing/execCommand/indent-empty-root.html
|
| @@ -1,15 +1,17 @@
|
| +<!doctype html>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script src="../assert_selection.js"></script>
|
| <script>
|
| -if (window.testRunner)
|
| - testRunner.dumpEditingCallbacks();
|
| + test(() => assert_selection(
|
| + '<div contenteditable>|</div>',
|
| + 'indent',
|
| + [
|
| + '<div contenteditable>',
|
| + '<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">',
|
| + '|<br>',
|
| + '</blockquote>',
|
| + '</div>',
|
| + ].join('')),
|
| + 'Indent in an empty editable element');
|
| </script>
|
| -<body>
|
| -<p>This tests Indent in an empty editable element.</p>
|
| -<div id="div" contentEditable="true"></div>
|
| -
|
| -<script>
|
| -var div = document.getElementById("div");
|
| -var sel = window.getSelection();
|
| -sel.collapse(div, 0);
|
| -document.execCommand("Indent");
|
| -</script>
|
| -</body>
|
|
|