summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/editing/execCommand/indent-right-after-table.html
blob: f78995835f8ec26a167a50f6cd2287e94d74bed2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<p>This tests crash on indenting at immediately right to a table.</p>
<div id="test" contenteditable="true"><table border=1><tbody><tr><td>hello</td></tr></tbody></table></div>

<script type="text/javascript">

if (window.testRunner)
    testRunner.dumpAsText();

var e = document.getElementById("test");
var s = window.getSelection();
s.collapse(e, 1);
document.execCommand("Indent", false, null);

</script>