OLD | NEW |
1 <html xmlns="http://www.w3.org/1999/xhtml"> | 1 <html xmlns="http://www.w3.org/1999/xhtml"> |
2 Test passes if it does not crash. | 2 Test passes if it does not crash. |
3 <style></style> | 3 <style></style> |
4 <script> | 4 <script> |
5 if (window.layoutTestController) | 5 if (window.layoutTestController) |
6 layoutTestController.dumpAsText(); | 6 layoutTestController.dumpAsText(); |
7 | 7 |
8 var docElement = document.documentElement; | 8 var docElement = document.documentElement; |
9 document.removeChild(docElement); | 9 document.removeChild(docElement); |
10 window.onload = function() { | 10 window.onload = function() { |
11 document.appendChild(docElement); | 11 document.appendChild(docElement); |
12 }; | 12 }; |
13 </script> | 13 </script> |
14 </html> | 14 </html> |
OLD | NEW |