| <html> |
| <head> |
| |
| <style> |
| |
| body { |
| margin: 0; |
| } |
| |
| iframe { |
| position: absolute; |
| left: 83px; |
| top: 53px; |
| width: 200px; |
| height: 200px; |
| } |
| |
| </style> |
| |
| <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| <script src="../../../http/tests/inspector/elements-test.js"></script> |
| <script src="../../../http/tests/inspector/console-test.js"></script> |
| <script> |
| |
| function onload() |
| { |
| if (window.internals) |
| window.internals.setPageScaleFactor(2); |
| // Fully scroll the visual viewport. |
| internals.setVisualViewportOffset(1000, 1000); |
| runTest(); |
| } |
| |
| function test() |
| { |
| InspectorTest.dumpInspectorHighlightJSON("div", InspectorTest.completeTest.bind(InspectorTest)); |
| } |
| |
| </script> |
| </head> |
| |
| <body onload="onload()"> |
| <iframe id="scale-iframe" src="resources/highlight-node-scaled-iframe.html"></iframe> |
| </body> |
| </html> |