Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / nsresponder-indent.html
blobb4cdd3988119eee47738c5d6e8a509f714a4cdc0
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <p>This tests the NSResponder method indent:. You should see an indented 'foo' below.</p>
6 <div id="div" contenteditable="true">foo</div>
8 <script>
9 var div = document.getElementById("div");
10 var sel = window.getSelection();
12 sel.collapse(div, 0);
14 document.execCommand("Indent");
15 </script>