OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 | 4 |
5 <style> | 5 <style> |
6 | 6 |
7 body { | 7 body { |
8 margin: 0; | 8 margin: 0; |
9 } | 9 } |
10 #svg-root { | 10 #svg-root { |
11 margin: 5px; | 11 margin: 5px; |
12 border: solid 10px aqua; | 12 border: solid 10px aqua; |
13 padding: 15px; | 13 padding: 15px; |
14 background-color: blue; | 14 background-color: blue; |
15 } | 15 } |
16 | 16 |
17 </style> | 17 </style> |
18 | 18 |
19 <script src="../../http/tests/inspector/inspector-test.js"></script> | 19 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
20 <script src="../../http/tests/inspector/elements-test.js"></script> | 20 <script src="../../../http/tests/inspector/elements-test.js"></script> |
21 <script> | 21 <script> |
22 | 22 |
23 function test() | 23 function test() |
24 { | 24 { |
25 InspectorTest.dumpInspectorHighlightJSON("svg-root", InspectorTest.completeT
est.bind(InspectorTest)); | 25 InspectorTest.dumpInspectorHighlightJSON("svg-root", InspectorTest.completeT
est.bind(InspectorTest)); |
26 } | 26 } |
27 | 27 |
28 </script> | 28 </script> |
29 </head> | 29 </head> |
30 | 30 |
31 <body onload="runTest()"> | 31 <body onload="runTest()"> |
32 | 32 |
33 <svg id="svg-root" width="100" height="100" viewbox="0 0 50 50"></svg> | 33 <svg id="svg-root" width="100" height="100" viewbox="0 0 50 50"></svg> |
34 <p id="description">This test verifies the position and size of the highlight re
ctangles overlayed on an SVG root element.</p> | 34 <p id="description">This test verifies the position and size of the highlight re
ctangles overlayed on an SVG root element.</p> |
35 | 35 |
36 </body> | 36 </body> |
37 </html> | 37 </html> |
OLD | NEW |