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