OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
4 <script src="../../http/tests/inspector/elements-test.js"></script> | 4 <script src="../../../http/tests/inspector/elements-test.js"></script> |
5 <script> | 5 <script> |
6 | 6 |
7 function removeNode(id) | 7 function removeNode(id) |
8 { | 8 { |
9 var child = document.getElementById(id); | 9 var child = document.getElementById(id); |
10 child.parentNode.removeChild(child); | 10 child.parentNode.removeChild(child); |
11 } | 11 } |
12 | 12 |
13 function removeTextNode(id) | 13 function removeTextNode(id) |
14 { | 14 { |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 95 |
96 <body onload="runTest()"> | 96 <body onload="runTest()"> |
97 <p> | 97 <p> |
98 Tests that elements panel updates dom tree structure upon node removal. | 98 Tests that elements panel updates dom tree structure upon node removal. |
99 </p> | 99 </p> |
100 | 100 |
101 <div id="container"><div id="child1">Text</div><div id="child2"></div><div id="c
hild3"></div><div id="child4"></div></div> | 101 <div id="container"><div id="child1">Text</div><div id="child2"></div><div id="c
hild3"></div><div id="child4"></div></div> |
102 | 102 |
103 </body> | 103 </body> |
104 </html> | 104 </html> |
OLD | NEW |