4 <script type=
"text/JavaScript">
7 document.execCommand('usecss', null, 'false');
9 var div = document.getElementById('a');
10 var range = document.createRange();
11 var sNode = div.childNodes[
0];
12 var eNode = div.childNodes[
3];
13 range.setStart(sNode, NaN);
14 range.setEnd(eNode, NaN);
15 getSelection().removeAllRanges();
16 getSelection().addRange(range);
18 document.execCommand('indent', null, true);
20 document.body.innerHTML = 'This test ensures WebKit does not crash when intending.
<br>PASS';
22 testRunner.notifyDone();
25 if (window.testRunner) {
26 testRunner.dumpAsText();
27 testRunner.waitUntilDone();
32 <body onload=
"runTest()"><div contenteditable=
"" id=
"a"><div><br><div contenteditable=
"false"><table></table></div></div><blockquote><input></blockquote><br></br></div></body></html>