| <script> | |
| if (window.testRunner) | |
| testRunner.dumpEditingCallbacks(); | |
| </script> | |
| <p>This tests the outdent: method. You should see an undented 'foo' below.</p> | |
| <div id="div" contenteditable="true"><blockquote class="webkit-indent-blockquote">foo</blockquote></div> | |
| <script> | |
| var div = document.getElementById("div"); | |
| var sel = window.getSelection(); | |
| sel.setPosition(div, 0); | |
| document.execCommand("Outdent"); | |
| </script> |