| 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 | 9 |
| 10 #container { | 10 #container { |
| 11 position: absolute; | 11 position: absolute; |
| 12 overflow: hidden; | 12 overflow: hidden; |
| 13 left: 100px; | 13 left: 100px; |
| 14 top: 200px; | 14 top: 200px; |
| 15 } | 15 } |
| 16 | 16 |
| 17 iframe { | 17 iframe { |
| 18 width: 200px; | 18 width: 200px; |
| 19 height: 200px; | 19 height: 200px; |
| 20 border: none; | 20 border: none; |
| 21 } | 21 } |
| 22 | 22 |
| 23 </style> | 23 </style> |
| 24 | 24 |
| 25 <script src="../../http/tests/inspector/inspector-test.js"></script> | 25 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| 26 <script src="../../http/tests/inspector/elements-test.js"></script> | 26 <script src="../../../http/tests/inspector/elements-test.js"></script> |
| 27 <script> | 27 <script> |
| 28 | 28 |
| 29 function test() | 29 function test() |
| 30 { | 30 { |
| 31 InspectorTest.dumpInspectorHighlightJSON("svg-rect", InspectorTest.completeT
est.bind(InspectorTest), "svg-iframe"); | 31 InspectorTest.dumpInspectorHighlightJSON("svg-rect", InspectorTest.completeT
est.bind(InspectorTest), "svg-iframe"); |
| 32 } | 32 } |
| 33 | 33 |
| 34 </script> | 34 </script> |
| 35 </head> | 35 </head> |
| 36 | 36 |
| 37 <body onload="runTest()"> | 37 <body onload="runTest()"> |
| 38 <div id="container"> | 38 <div id="container"> |
| 39 <iframe id="svg-iframe" src="resources/highlight-svg-content-iframe.html"></
iframe> | 39 <iframe id="svg-iframe" src="resources/highlight-svg-content-iframe.html"></
iframe> |
| 40 </div> | 40 </div> |
| 41 </body> | 41 </body> |
| 42 </html> | 42 </html> |
| OLD | NEW |