| OLD | NEW |
| 1 This test verifies the position and size of the highlight rectangles overlayed o
n an inspected div in the scrolled view. | 1 This test verifies the position and size of the highlight rectangles overlayed o
n an inspected div in the scrolled view. |
| 2 | 2 |
| 3 inspectedElement1: { | 3 inspectedElement1{ |
| 4 "paths": [ | 4 "paths": [ |
| 5 { | 5 { |
| 6 "path": ["M", -12, -62, "L", 188, -62, "L", 188, 138, "L", -12, 138, "Z"], | 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 ], |
| 7 "fillColor": "rgba(255, 0, 0, 0)", | 21 "fillColor": "rgba(255, 0, 0, 0)", |
| 8 "outlineColor": "rgba(128, 0, 0, 0)" | 22 "outlineColor": "rgba(128, 0, 0, 0)" |
| 9 }, | 23 }, |
| 10 { | 24 { |
| 11 "path": ["M", -27, -77, "L", 203, -77, "L", 203, 153, "L", -27, 153, "Z"], | 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 ], |
| 12 "fillColor": "rgba(0, 255, 0, 0)" | 40 "fillColor": "rgba(0, 255, 0, 0)" |
| 13 }, | 41 }, |
| 14 { | 42 { |
| 15 "path": ["M", -37, -87, "L", 213, -87, "L", 213, 163, "L", -37, 163, "Z"], | 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 ], |
| 16 "fillColor": "rgba(0, 0, 255, 0)" | 58 "fillColor": "rgba(0, 0, 255, 0)" |
| 17 }, | 59 }, |
| 18 { | 60 { |
| 19 "path": ["M", -42, -92, "L", 218, -92, "L", 218, 168, "L", -42, 168, "Z"], | 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 ], |
| 20 "fillColor": "rgba(255, 255, 255, 0)" | 76 "fillColor": "rgba(255, 255, 255, 0)" |
| 21 } | 77 } |
| 22 ], | 78 ], |
| 23 "showRulers": true, | 79 "showRulers": true, |
| 24 "showExtensionLines": true, | 80 "showExtensionLines": true, |
| 25 "elementInfo": { | 81 "elementInfo": { |
| 26 "tagName": "div", | 82 "tagName": "div", |
| 27 "idValue": "inspectedElement1", | 83 "idValue": "inspectedElement1", |
| 28 "className": ".inspected", | 84 "className": ".inspected", |
| 29 "nodeWidth": "250", | 85 "nodeWidth": "250", |
| 30 "nodeHeight": "250" | 86 "nodeHeight": "250" |
| 31 } | 87 } |
| 32 } | 88 } |
| 33 | 89 inspectedElement2{ |
| 34 inspectedElement2: { | |
| 35 "paths": [ | 90 "paths": [ |
| 36 { | 91 { |
| 37 "path": ["M", -72, 148, "L", 128, 148, "L", 128, 348, "L", -72, 348, "Z"], | 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 ], |
| 38 "fillColor": "rgba(255, 0, 0, 0)", | 107 "fillColor": "rgba(255, 0, 0, 0)", |
| 39 "outlineColor": "rgba(128, 0, 0, 0)" | 108 "outlineColor": "rgba(128, 0, 0, 0)" |
| 40 }, | 109 }, |
| 41 { | 110 { |
| 42 "path": ["M", -87, 133, "L", 143, 133, "L", 143, 363, "L", -87, 363, "Z"], | 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 ], |
| 43 "fillColor": "rgba(0, 255, 0, 0)" | 126 "fillColor": "rgba(0, 255, 0, 0)" |
| 44 }, | 127 }, |
| 45 { | 128 { |
| 46 "path": ["M", -97, 123, "L", 153, 123, "L", 153, 373, "L", -97, 373, "Z"], | 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 ], |
| 47 "fillColor": "rgba(0, 0, 255, 0)" | 144 "fillColor": "rgba(0, 0, 255, 0)" |
| 48 }, | 145 }, |
| 49 { | 146 { |
| 50 "path": ["M", -102, 118, "L", 158, 118, "L", 158, 378, "L", -102, 378, "Z"
], | 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 ], |
| 51 "fillColor": "rgba(255, 255, 255, 0)" | 162 "fillColor": "rgba(255, 255, 255, 0)" |
| 52 } | 163 } |
| 53 ], | 164 ], |
| 54 "showRulers": true, | 165 "showRulers": true, |
| 55 "showExtensionLines": true, | 166 "showExtensionLines": true, |
| 56 "elementInfo": { | 167 "elementInfo": { |
| 57 "tagName": "div", | 168 "tagName": "div", |
| 58 "idValue": "inspectedElement2", | 169 "idValue": "inspectedElement2", |
| 59 "className": ".inspected", | 170 "className": ".inspected", |
| 60 "nodeWidth": "250", | 171 "nodeWidth": "250", |
| 61 "nodeHeight": "250" | 172 "nodeHeight": "250" |
| 62 } | 173 } |
| 63 } | 174 } |
| 64 | 175 |
| 65 | |
| OLD | NEW |