OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script> | 4 <script> |
5 | 5 |
6 function removeElement() { | 6 function removeElement() { |
7 document.getElementById("h3").parentNode.removeChild(document.getElementById(
"h3")); | 7 document.getElementById("h3").parentNode.removeChild(document.getElementById(
"h3")); |
8 } | 8 } |
9 | 9 |
10 </script> | 10 </script> |
11 <script src="../fast/js/resources/js-test-pre.js"></script> | 11 <script src="../resources/js-test.js"></script> |
12 </head> | 12 </head> |
13 <body> | 13 <body> |
14 | 14 |
15 <A href="#" tabindex=0 id="link"> | 15 <A href="#" tabindex=0 id="link"> |
16 <h3 id="h3">asdfasdf</h3> | 16 <h3 id="h3">asdfasdf</h3> |
17 <img src="asdf.gif" width=100 height=100> | 17 <img src="asdf.gif" width=100 height=100> |
18 asdfasdf | 18 asdfasdf |
19 </a> | 19 </a> |
20 | 20 |
21 | 21 |
(...skipping 13 matching lines...) Expand all Loading... |
35 removeElement(); | 35 removeElement(); |
36 | 36 |
37 // should not cause a crash... | 37 // should not cause a crash... |
38 link.attributesOfChildren(); | 38 link.attributesOfChildren(); |
39 } | 39 } |
40 | 40 |
41 </script> | 41 </script> |
42 | 42 |
43 </body> | 43 </body> |
44 </html> | 44 </html> |
OLD | NEW |