| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 | 3 |
| 4 <style> | 4 <style> |
| 5 | 5 |
| 6 body { | 6 body { |
| 7 margin: 0; | 7 margin: 0; |
| 8 } | 8 } |
| 9 #container { | 9 #container { |
| 10 width: 400px; | 10 width: 400px; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 } | 25 } |
| 26 | 26 |
| 27 </style> | 27 </style> |
| 28 | 28 |
| 29 <script src="../../http/tests/inspector/inspector-test.js"></script> | 29 <script src="../../http/tests/inspector/inspector-test.js"></script> |
| 30 <script src="../../http/tests/inspector/elements-test.js"></script> | 30 <script src="../../http/tests/inspector/elements-test.js"></script> |
| 31 <script> | 31 <script> |
| 32 | 32 |
| 33 function test() | 33 function test() |
| 34 { | 34 { |
| 35 function nodeSelected(node) | 35 InspectorTest.dumpInspectorHighlightJSON("inspectedElement", InspectorTest.c
ompleteTest.bind(InspectorTest)); |
| 36 { | |
| 37 InspectorTest.dumpInspectorHighlight(node, InspectorTest.completeTest.bi
nd(InspectorTest)); | |
| 38 } | |
| 39 | |
| 40 InspectorTest.selectNodeWithId("inspectedElement", nodeSelected); | |
| 41 } | 36 } |
| 42 | 37 |
| 43 </script> | 38 </script> |
| 44 </head> | 39 </head> |
| 45 | 40 |
| 46 <body onload="runTest()"> | 41 <body onload="runTest()"> |
| 47 | 42 |
| 48 <div id="inspectedElement"></div> | 43 <div id="inspectedElement"></div> |
| 49 <p id="description">This test verifies the position and size of the highlight re
ctangles overlayed on an inspected div.</p> | 44 <p id="description">This test verifies the position and size of the highlight re
ctangles overlayed on an inspected div.</p> |
| 50 | 45 |
| 51 </body> | 46 </body> |
| 52 </html> | 47 </html> |
| OLD | NEW |