<p>This tests for a hang when indenting a fully selected table twice. You should see a twice indented table, with four cells, below.</p> | |
<div id="div" contenteditable="true"> | |
<table border="1"> | |
<tr><td>One</td><td>Two</td></tr> | |
<tr><td>Three</td><td>Four</td></tr> | |
</table> | |
</div> | |
<script> | |
div = document.getElementById("div"); | |
div.focus(); | |
document.execCommand("SelectAll"); | |
document.execCommand("Indent"); | |
document.execCommand("Indent"); | |
</script> |