upload tizen1.0 source
[framework/web/webkit-efl.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 document.execCommand("Indent");
15 </script>