2 <body contenteditable=
"true">
4 <ol><li id=
"test1" style=
"display: inline">one
</li><li>two
</li><li>three
</li></ol>
5 <ul><li id=
"test2" style=
"display: inline">one
</li><li>two
</li><li>three
</li></ul>
9 testRunner
.dumpAsText();
11 function log(message
) {
12 var console
= document
.getElementById("console");
13 var text
= document
.createTextNode(message
);
14 console
.appendChild(text
);
17 var s
= window
.getSelection();
18 var p
= document
.getElementById("test1");
20 document
.execCommand("Outdent", false, 0);
21 log("Test1 passed: no crash ");
22 var p
= document
.getElementById("test2");
24 document
.execCommand("Outdent", false, 0);
25 log("Test2 passed: no crash");