OLD | NEW |
1 <html> | 1 <html> |
2 <body onload="runTest();"> | 2 <body onload="runTest();"> |
3 You should see a PASS with a solid outline around it. | 3 You should see a PASS with a solid outline around it. |
4 <script> | 4 <script> |
5 function runTest() | 5 function runTest() |
6 { | 6 { |
7 table = document.createElement('table'); | 7 table = document.createElement('table'); |
8 document.body.appendChild(table); | 8 document.body.appendChild(table); |
9 | 9 |
10 span1 = document.createElement('span'); | 10 span1 = document.createElement('span'); |
(...skipping 12 matching lines...) Expand all Loading... |
23 document.body.offsetTop; | 23 document.body.offsetTop; |
24 | 24 |
25 span1.removeChild(span2); | 25 span1.removeChild(span2); |
26 span3 = document.createElement('span'); | 26 span3 = document.createElement('span'); |
27 span3.insertBefore(span2, null); | 27 span3.insertBefore(span2, null); |
28 } | 28 } |
29 </script> | 29 </script> |
30 </body> | 30 </body> |
31 </html> | 31 </html> |
32 </html> | 32 </html> |
OLD | NEW |