Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / indent-empty-root.html
blobfb762ff4c1b7258bfcb15498a696a1d67c8dbbf7
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <body>
6 <p>This tests Indent in an empty editable element.</p>
7 <div id="div" contentEditable="true"></div>
9 <script>
10 var div = document.getElementById("div");
11 var sel = window.getSelection();
12 sel.collapse(div, 0);
13 document.execCommand("Indent");
14 </script>
15 </body>