OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <body> | |
4 <input> | |
5 <hr> | |
6 > | |
7 <script> | |
8 if (window.testRunner) | |
9 testRunner.dumpAsText(); | |
10 | |
11 document.designMode = 'on'; | |
12 document.execCommand('SelectAll'); | |
13 document.execCommand('Strikethrough'); | |
14 document.execCommand('InsertOrderedList', false); | |
yosin_UTC9
2014/02/27 01:38:40
nit: We don't need to have |false|, default value
arpitab_
2014/02/27 06:56:11
Done.
| |
15 window.getSelection().deleteFromDocument(); | |
16 document.execCommand('SelectAll'); | |
17 document.execCommand('Strikethrough'); | |
18 document.write('The test passes if the page does not crash.'); | |
19 </script> | |
20 </body> | |
21 </html> | |
OLD | NEW |