blob: c85719e16c3383de3e7400a95fc0c20a0a41707a [file] [log] [blame]
<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>