1 <div id=
"description">This test for a crash when indenting a particular selection inside an already indented table. It should not crash.
</div>
2 <div id=
"edit" contenteditable=
"true">
4 <tr><td>1</td><td id=
"td">2</td></tr>
5 <tr><td>3</td><td>4</td></tr>
11 if (window
.testRunner
)
12 window
.testRunner
.dumpAsText();
14 edit
= document
.getElementById("edit");
16 document
.execCommand("SelectAll");
17 document
.execCommand("Indent");
18 td
= document
.getElementById("td");
19 window
.getSelection().setBaseAndExtent(td
, 0, edit
, edit
.childNodes
.length
);
20 document
.execCommand("Indent");