OLD | NEW |
| (Empty) |
1 This test verifies the position and size of the highlight rectangles overlayed o
n an inspected div. | |
2 | |
3 inspectedElement{ | |
4 "paths": [ | |
5 { | |
6 "path": [ | |
7 "M", | |
8 30, | |
9 30, | |
10 "L", | |
11 230, | |
12 30, | |
13 "L", | |
14 230, | |
15 230, | |
16 "L", | |
17 30, | |
18 230, | |
19 "Z" | |
20 ], | |
21 "fillColor": "rgba(255, 0, 0, 0)", | |
22 "outlineColor": "rgba(128, 0, 0, 0)" | |
23 }, | |
24 { | |
25 "path": [ | |
26 "M", | |
27 15, | |
28 15, | |
29 "L", | |
30 245, | |
31 15, | |
32 "L", | |
33 245, | |
34 245, | |
35 "L", | |
36 15, | |
37 245, | |
38 "Z" | |
39 ], | |
40 "fillColor": "rgba(0, 255, 0, 0)" | |
41 }, | |
42 { | |
43 "path": [ | |
44 "M", | |
45 5, | |
46 5, | |
47 "L", | |
48 255, | |
49 5, | |
50 "L", | |
51 255, | |
52 255, | |
53 "L", | |
54 5, | |
55 255, | |
56 "Z" | |
57 ], | |
58 "fillColor": "rgba(0, 0, 255, 0)" | |
59 }, | |
60 { | |
61 "path": [ | |
62 "M", | |
63 0, | |
64 0, | |
65 "L", | |
66 260, | |
67 0, | |
68 "L", | |
69 260, | |
70 260, | |
71 "L", | |
72 0, | |
73 260, | |
74 "Z" | |
75 ], | |
76 "fillColor": "rgba(255, 255, 255, 0)" | |
77 } | |
78 ], | |
79 "showRulers": true, | |
80 "showExtensionLines": true, | |
81 "elementInfo": { | |
82 "tagName": "div", | |
83 "idValue": "inspectedElement", | |
84 "nodeWidth": "250", | |
85 "nodeHeight": "250" | |
86 } | |
87 } | |
88 | |
OLD | NEW |