OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 #el0 { position: relative; } | 4 #el0 { position: relative; } |
5 #el2 { outline-style: dashed; } | 5 #el2 { outline-style: dashed; } |
6 </style> | 6 </style> |
7 <script> | 7 <script> |
8 if (window.testRunner) { | 8 if (window.testRunner) { |
9 testRunner.display(); | |
10 testRunner.waitUntilDone(); | 9 testRunner.waitUntilDone(); |
11 } | 10 } |
12 | 11 |
13 function log(message) { | 12 function log(message) { |
14 var console = document.getElementById("console"); | 13 var console = document.getElementById("console"); |
15 console.appendChild(document.createTextNode(message + "\n")); | 14 console.appendChild(document.createTextNode(message + "\n")); |
16 } | 15 } |
17 | 16 |
18 function test() { | 17 function test() { |
19 document.execCommand('removeformat'); | 18 document.execCommand('removeformat'); |
(...skipping 27 matching lines...) Expand all Loading... |
47 document.execCommand('selectall') | 46 document.execCommand('selectall') |
48 document.execCommand('FormatBlock', false, '<'+'pre>') | 47 document.execCommand('FormatBlock', false, '<'+'pre>') |
49 document.execCommand('Undo') | 48 document.execCommand('Undo') |
50 setTimeout("test();",10) | 49 setTimeout("test();",10) |
51 } | 50 } |
52 </script> | 51 </script> |
53 </head> | 52 </head> |
54 <body onload="runTest();"> | 53 <body onload="runTest();"> |
55 <div id="console"></div> | 54 <div id="console"></div> |
56 </body> | 55 </body> |
57 </html> | 56 </html> |
OLD | NEW |