OLD | NEW |
1 Tests that InspectorCSSAgent API methods work as expected. | 1 Tests that InspectorCSSAgent API methods work as expected. |
2 | 2 |
3 H1 | 3 H1 |
4 | 4 |
5 | 5 |
6 === Computed style property count for body === | 6 === Computed style property count for body === |
7 OK | 7 OK |
8 | 8 |
9 === Matched rules for body === | 9 === Matched rules for body === |
10 | 10 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 ['background-position-y':'initial' is-important] @[undefined-undefined] style | 48 ['background-position-y':'initial' is-important] @[undefined-undefined] style |
49 ['background-origin':'initial' is-important] @[undefined-undefined] style | 49 ['background-origin':'initial' is-important] @[undefined-undefined] style |
50 ['background-clip':'initial' is-important] @[undefined-undefined] style | 50 ['background-clip':'initial' is-important] @[undefined-undefined] style |
51 ['background-color':'green' is-important] @[undefined-undefined] style | 51 ['background-color':'green' is-important] @[undefined-undefined] style |
52 | 52 |
53 rule | 53 rule |
54 body.mainpage: [] | 54 body.mainpage: [] |
55 ['text-decoration':'none'] @[5-27] active | 55 ['text-decoration':'none'] @[5-27] active |
56 ['badproperty':'1badvalue1' non-parsed] @[107-131] active | 56 ['badproperty':'1badvalue1' non-parsed] @[107-131] active |
57 | 57 |
| 58 rule |
| 59 body.mainpage: [] |
| 60 ['prop1':'val1' non-parsed] @[5-17] active |
| 61 ['prop2':'val2' non-parsed] @[22-34] active |
| 62 |
58 === Pseudo rules for body === | 63 === Pseudo rules for body === |
59 PseudoId=4 | 64 PseudoId=4 |
60 | 65 |
61 rule | 66 rule |
62 body::after: [] | 67 body::after: [] |
63 ['content':'"After body"'] @[5-27] active | 68 ['content':'"After body"'] @[5-27] active |
64 | 69 |
65 === Inherited styles for body === | 70 === Inherited styles for body === |
66 Level=1 | 71 Level=1 |
67 | 72 |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 ['border-left-width':'0px'] @[undefined-undefined] style | 186 ['border-left-width':'0px'] @[undefined-undefined] style |
182 | 187 |
183 StyleSheet: ' | 188 StyleSheet: ' |
184 | 189 |
185 /* An inline stylesheet */ | 190 /* An inline stylesheet */ |
186 body.mainpage { | 191 body.mainpage { |
187 text-decoration: none; /* at least one valid property is necessary for WebCo
re to match a rule */ | 192 text-decoration: none; /* at least one valid property is necessary for WebCo
re to match a rule */ |
188 badproperty: 1badvalue1; | 193 badproperty: 1badvalue1; |
189 } | 194 } |
190 | 195 |
| 196 body.mainpage { |
| 197 prop1: val1; |
| 198 prop2: val2; |
| 199 } |
| 200 |
191 ' | 201 ' |
192 | 202 |
193 rule | 203 rule |
194 body.mainpage: [] | 204 body.mainpage: [] |
195 ['text-decoration':'none'] @[5-27] active | 205 ['text-decoration':'none'] @[5-27] active |
196 ['badproperty':'1badvalue1' non-parsed] @[107-131] active | 206 ['badproperty':'1badvalue1' non-parsed] @[107-131] active |
197 | 207 |
| 208 rule |
| 209 body.mainpage: [] |
| 210 ['prop1':'val1' non-parsed] @[5-17] active |
| 211 ['prop2':'val2' non-parsed] @[22-34] active |
| 212 |
198 === Last stylesheet patched === | 213 === Last stylesheet patched === |
199 | 214 |
200 StyleSheet: 'body.mainpage { text-decoration: strikethrough; badproperty:
2badvalue2;}body { text-align: justify;}' | 215 StyleSheet: 'body.mainpage { text-decoration: strikethrough; badproperty:
2badvalue2;}body { text-align: justify;}' |
201 | 216 |
202 rule | 217 rule |
203 body.mainpage: [] | 218 body.mainpage: [] |
204 ['text-decoration':'strikethrough' non-parsed] @[4-35] active | 219 ['text-decoration':'strikethrough' non-parsed] @[4-35] active |
205 ['badproperty':'2badvalue2' non-parsed] @[39-63] active | 220 ['badproperty':'2badvalue2' non-parsed] @[39-63] active |
206 | 221 |
207 rule | 222 rule |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 ['border-top-style':'solid'] @[undefined-undefined] style | 363 ['border-top-style':'solid'] @[undefined-undefined] style |
349 ['border-right-style':'solid'] @[undefined-undefined] style | 364 ['border-right-style':'solid'] @[undefined-undefined] style |
350 ['border-bottom-style':'solid'] @[undefined-undefined] style | 365 ['border-bottom-style':'solid'] @[undefined-undefined] style |
351 ['border-left-style':'solid'] @[undefined-undefined] style | 366 ['border-left-style':'solid'] @[undefined-undefined] style |
352 ['border-color':'initial'] @[undefined-undefined] style | 367 ['border-color':'initial'] @[undefined-undefined] style |
353 ['border-top-width':'1px'] @[undefined-undefined] style | 368 ['border-top-width':'1px'] @[undefined-undefined] style |
354 ['border-right-width':'1px'] @[undefined-undefined] style | 369 ['border-right-width':'1px'] @[undefined-undefined] style |
355 ['border-bottom-width':'1px'] @[undefined-undefined] style | 370 ['border-bottom-width':'1px'] @[undefined-undefined] style |
356 ['border-left-width':'1px'] @[undefined-undefined] style | 371 ['border-left-width':'1px'] @[undefined-undefined] style |
357 | 372 |
OLD | NEW |