| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or
g/TR/html4/loose.dtd"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or
g/TR/html4/loose.dtd"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../http/tests/inspector/inspector-test.js"></script> | 4 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| 5 <script src="../../http/tests/inspector/elements-test.js"></script> | 5 <script src="../../../http/tests/inspector/elements-test.js"></script> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 function appendChild() | 8 function appendChild() |
| 9 { | 9 { |
| 10 var container = document.getElementById("container"); | 10 var container = document.getElementById("container"); |
| 11 var child = document.createElement("div"); | 11 var child = document.createElement("div"); |
| 12 child.setAttribute("id", "appended"); | 12 child.setAttribute("id", "appended"); |
| 13 container.appendChild(child); | 13 container.appendChild(child); |
| 14 } | 14 } |
| 15 | 15 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 <body onload="runTest()"> | 51 <body onload="runTest()"> |
| 52 <p> | 52 <p> |
| 53 Tests that elements panel updates hasChildren flag upon adding children to colla
psed nodes. | 53 Tests that elements panel updates hasChildren flag upon adding children to colla
psed nodes. |
| 54 </p> | 54 </p> |
| 55 | 55 |
| 56 <div id="container"></div> | 56 <div id="container"></div> |
| 57 | 57 |
| 58 </body> | 58 </body> |
| 59 </html> | 59 </html> |
| OLD | NEW |