jchaffraix@webkit.org | 3ed6734 | 2011-11-18 19:20:32 +0000 | [diff] [blame] | 1 | <script> |
rniwa@webkit.org | 14f6b5b | 2012-06-13 08:51:53 +0000 | [diff] [blame] | 2 | if (window.testRunner) |
| 3 | testRunner.dumpAsText(); |
jchaffraix@webkit.org | 3ed6734 | 2011-11-18 19:20:32 +0000 | [diff] [blame] | 4 | |
| 5 | function go() { |
| 6 | document.execCommand("selectall", false); |
| 7 | document.designMode="on"; |
| 8 | document.execCommand("insertparagraph", false); |
| 9 | document.execCommand("insertparagraph", false); |
| 10 | document.execCommand("InsertImage", false); |
| 11 | document.execCommand("selectall"); |
| 12 | document.execCommand("Strikethrough", false); |
| 13 | document.execCommand("outdent", false); |
| 14 | document.execCommand("InsertHorizontalRule", false); |
| 15 | document.execCommand("SelectAll"); |
| 16 | document.execCommand("InsertOrderedList"); |
| 17 | document.execCommand("insertunorderedlist", false); |
| 18 | document.execCommand("insertorderedlist"); |
| 19 | document.execCommand("InsertHorizontalRule", false); |
| 20 | document.execCommand("delete"); |
| 21 | document.execCommand("Delete"); |
| 22 | document.execCommand("Delete", false); |
| 23 | document.execCommand("InsertHorizontalRule", false); |
| 24 | document.execCommand("insertorderedlist", false); |
| 25 | document.execCommand("JustifyFull"); |
| 26 | document.execCommand("insertorderedlist"); |
| 27 | document.execCommand("insertunorderedlist"); |
| 28 | document.execCommand("insertunorderedlist", false); |
| 29 | document.execCommand("Outdent"); |
| 30 | document.execCommand("selectall", false); |
| 31 | document.execCommand("insertparagraph", false); |
| 32 | document.execCommand("insertimage", false); |
| 33 | document.execCommand("InsertUnorderedList", false); |
| 34 | document.execCommand("insertorderedlist"); |
| 35 | document.execCommand("insertimage", false); |
| 36 | document.execCommand("inserthorizontalrule", false); |
| 37 | document.execCommand("Outdent"); |
| 38 | document.execCommand("outdent"); |
| 39 | document.execCommand("insertorderedlist"); |
| 40 | document.execCommand("outdent"); |
| 41 | document.execCommand("insertorderedlist"); |
| 42 | } |
| 43 | </script> |
| 44 | <body onload="go()"> |
| 45 | </body> |