| 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; |
| 11 height: 400px; | 11 height: 400px; |
| 12 background-color: grey; | 12 background-color: grey; |
| 13 } | 13 } |
| 14 #inspectedElement { | 14 #inspectedElement { |
| 15 margin: 5px; | 15 margin: 5px; |
| 16 border: solid 10px aqua; | 16 border: solid 10px aqua; |
| 17 padding: 15px; | 17 padding: 15px; |
| 18 width: 200px; | 18 width: 200px; |
| 19 height: 200px; | 19 height: 200px; |
| 20 background-color: blue; | 20 background-color: blue; |
| 21 float: left; | 21 float: left; |
| 22 } | 22 } |
| 23 #description { | 23 #description { |
| 24 clear: both; | 24 clear: both; |
| 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 InspectorTest.dumpInspectorHighlightJSON("inspectedElement", InspectorTest.c
ompleteTest.bind(InspectorTest)); | 35 InspectorTest.dumpInspectorHighlightJSON("inspectedElement", InspectorTest.c
ompleteTest.bind(InspectorTest)); |
| 36 } | 36 } |
| 37 | 37 |
| 38 </script> | 38 </script> |
| 39 </head> | 39 </head> |
| 40 | 40 |
| 41 <body onload="runTest()"> | 41 <body onload="runTest()"> |
| 42 | 42 |
| 43 <div id="inspectedElement"></div> | 43 <div id="inspectedElement"></div> |
| 44 <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> |
| 45 | 45 |
| 46 </body> | 46 </body> |
| 47 </html> | 47 </html> |
| OLD | NEW |