upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / editing / execCommand / switch-multiple-list-items-crash.html
1 <html><head><script>
2
3 if (window.layoutTestController)
4     layoutTestController.dumpAsText();
5
6 function go() {
7     document.execCommand("selectall");
8     document.designMode="on";
9     document.execCommand("InsertLineBreak");
10     document.execCommand("insertimage");
11     document.execCommand("InsertOrderedList");
12     document.execCommand("inserthtml", false, "z");
13     document.execCommand("InsertHorizontalRule");
14     document.execCommand("selectall");
15     document.execCommand("createlink", false, "z");
16     document.execCommand("insertunorderedlist");
17     document.body.innerHTML = 'This test ensures WebKit does not crash when switching the type of a list with multiple list items.<br>PASS';
18 }
19 </script></head><body onload="go();"></body></html>