| OLD | NEW |
| (Empty) |
| 1 This test verifies the position and size of the highlight rectangles overlayed o
n an inspected div in the scrolled view. | |
| 2 | |
| 3 inspectedElement1{ | |
| 4 "paths": [ | |
| 5 { | |
| 6 "path": [ | |
| 7 "M", | |
| 8 -12, | |
| 9 -62, | |
| 10 "L", | |
| 11 188, | |
| 12 -62, | |
| 13 "L", | |
| 14 188, | |
| 15 138, | |
| 16 "L", | |
| 17 -12, | |
| 18 138, | |
| 19 "Z" | |
| 20 ], | |
| 21 "fillColor": "rgba(255, 0, 0, 0)", | |
| 22 "outlineColor": "rgba(128, 0, 0, 0)" | |
| 23 }, | |
| 24 { | |
| 25 "path": [ | |
| 26 "M", | |
| 27 -27, | |
| 28 -77, | |
| 29 "L", | |
| 30 203, | |
| 31 -77, | |
| 32 "L", | |
| 33 203, | |
| 34 153, | |
| 35 "L", | |
| 36 -27, | |
| 37 153, | |
| 38 "Z" | |
| 39 ], | |
| 40 "fillColor": "rgba(0, 255, 0, 0)" | |
| 41 }, | |
| 42 { | |
| 43 "path": [ | |
| 44 "M", | |
| 45 -37, | |
| 46 -87, | |
| 47 "L", | |
| 48 213, | |
| 49 -87, | |
| 50 "L", | |
| 51 213, | |
| 52 163, | |
| 53 "L", | |
| 54 -37, | |
| 55 163, | |
| 56 "Z" | |
| 57 ], | |
| 58 "fillColor": "rgba(0, 0, 255, 0)" | |
| 59 }, | |
| 60 { | |
| 61 "path": [ | |
| 62 "M", | |
| 63 -42, | |
| 64 -92, | |
| 65 "L", | |
| 66 218, | |
| 67 -92, | |
| 68 "L", | |
| 69 218, | |
| 70 168, | |
| 71 "L", | |
| 72 -42, | |
| 73 168, | |
| 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": "inspectedElement1", | |
| 84 "className": ".inspected", | |
| 85 "nodeWidth": "250", | |
| 86 "nodeHeight": "250" | |
| 87 } | |
| 88 } | |
| 89 inspectedElement2{ | |
| 90 "paths": [ | |
| 91 { | |
| 92 "path": [ | |
| 93 "M", | |
| 94 -72, | |
| 95 148, | |
| 96 "L", | |
| 97 128, | |
| 98 148, | |
| 99 "L", | |
| 100 128, | |
| 101 348, | |
| 102 "L", | |
| 103 -72, | |
| 104 348, | |
| 105 "Z" | |
| 106 ], | |
| 107 "fillColor": "rgba(255, 0, 0, 0)", | |
| 108 "outlineColor": "rgba(128, 0, 0, 0)" | |
| 109 }, | |
| 110 { | |
| 111 "path": [ | |
| 112 "M", | |
| 113 -87, | |
| 114 133, | |
| 115 "L", | |
| 116 143, | |
| 117 133, | |
| 118 "L", | |
| 119 143, | |
| 120 363, | |
| 121 "L", | |
| 122 -87, | |
| 123 363, | |
| 124 "Z" | |
| 125 ], | |
| 126 "fillColor": "rgba(0, 255, 0, 0)" | |
| 127 }, | |
| 128 { | |
| 129 "path": [ | |
| 130 "M", | |
| 131 -97, | |
| 132 123, | |
| 133 "L", | |
| 134 153, | |
| 135 123, | |
| 136 "L", | |
| 137 153, | |
| 138 373, | |
| 139 "L", | |
| 140 -97, | |
| 141 373, | |
| 142 "Z" | |
| 143 ], | |
| 144 "fillColor": "rgba(0, 0, 255, 0)" | |
| 145 }, | |
| 146 { | |
| 147 "path": [ | |
| 148 "M", | |
| 149 -102, | |
| 150 118, | |
| 151 "L", | |
| 152 158, | |
| 153 118, | |
| 154 "L", | |
| 155 158, | |
| 156 378, | |
| 157 "L", | |
| 158 -102, | |
| 159 378, | |
| 160 "Z" | |
| 161 ], | |
| 162 "fillColor": "rgba(255, 255, 255, 0)" | |
| 163 } | |
| 164 ], | |
| 165 "showRulers": true, | |
| 166 "showExtensionLines": true, | |
| 167 "elementInfo": { | |
| 168 "tagName": "div", | |
| 169 "idValue": "inspectedElement2", | |
| 170 "className": ".inspected", | |
| 171 "nodeWidth": "250", | |
| 172 "nodeHeight": "250" | |
| 173 } | |
| 174 } | |
| 175 | |
| OLD | NEW |