1 <p>This tests indenting nested divs. By indenting "hello", we should be able to enclose all three blocks 1 through 3 by a blockquote</p>
2 <div id="div" contenteditable="true">
3 <div id="block1"><div id="block2"><div id="block3">hello</div></div></div>
8 if (window.layoutTestController)
9 layoutTestController.dumpAsText();
11 var e = document.getElementById("block3");
12 var s = window.getSelection();
13 var r = document.createRange();
17 document.execCommand("Indent", false, null);
18 text = document.createTextNode(document.getElementById('div').innerHTML);
19 document.getElementById('c').appendChild( text );