OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 | 5 |
6 body { | 6 body { |
7 margin: 0; | 7 margin: 0; |
8 } | 8 } |
9 #svg-root { | 9 #svg-root { |
10 position: relative; | 10 position: relative; |
11 left: 10px; | 11 left: 10px; |
12 top: 20px; | 12 top: 20px; |
13 margin: 30px; | 13 margin: 30px; |
14 border: solid 40px aqua; | 14 border: solid 40px aqua; |
15 padding: 50px; | 15 padding: 50px; |
16 background-color: blue; | 16 background-color: blue; |
17 } | 17 } |
18 | 18 |
19 </style> | 19 </style> |
20 <script src="../../http/tests/inspector/inspector-test.js"></script> | 20 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
21 <script src="../../http/tests/inspector/elements-test.js"></script> | 21 <script src="../../../http/tests/inspector/elements-test.js"></script> |
22 <script> | 22 <script> |
23 | 23 |
24 function startTest() | 24 function startTest() |
25 { | 25 { |
26 if (window.eventSender) | 26 if (window.eventSender) |
27 window.eventSender.zoomPageIn(); | 27 window.eventSender.zoomPageIn(); |
28 runTest(); | 28 runTest(); |
29 } | 29 } |
30 | 30 |
31 function test() | 31 function test() |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 content rect: | 63 content rect: |
64 left: (10 + 30 + 40 + 50) * 1.2 == 130 * 1.2 == 156 | 64 left: (10 + 30 + 40 + 50) * 1.2 == 130 * 1.2 == 156 |
65 top: (20 + 30 + 40 + 50) * 1.2 == 140 * 1.2 == 168 | 65 top: (20 + 30 + 40 + 50) * 1.2 == 140 * 1.2 == 168 |
66 width: (100) * 1.2 == 120 | 66 width: (100) * 1.2 == 120 |
67 height: (200) * 1.2 == 240 | 67 height: (200) * 1.2 == 240 |
68 | 68 |
69 --> | 69 --> |
70 <div id="console"></div> | 70 <div id="console"></div> |
71 </body> | 71 </body> |
72 </html> | 72 </html> |
OLD | NEW |