Reviewed by Stephanie.
[WebKit-https.git] / LayoutTests / editing / execCommand / nsresponder-indent.html
1 <script>
2 if (window.layoutTestController)
3      layoutTestController.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>
7
8 <script>
9 var div = document.getElementById("div");
10 var sel = window.getSelection();
11
12 sel.setPosition(div, 0);
13
14 textInputController.doCommand("indent:");
15 </script>