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 Running: test_styles | 6 Running: test_styles |
7 | 7 |
8 === Computed style property count for body === | 8 === Computed style property count for body === |
9 OK | 9 OK |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 ['important':'!important' is-important non-parsed] @[16:4-16:25] | 32 ['important':'!important' is-important non-parsed] @[16:4-16:25] |
33 ['color':'yellow'] @[17:4-17:18] | 33 ['color':'yellow'] @[17:4-17:18] |
34 ['color':'"badcolor" ! important /* good property with strange value */' is-
important non-parsed] @[18:4-18:73] | 34 ['color':'"badcolor" ! important /* good property with strange value */' is-
important non-parsed] @[18:4-18:73] |
35 } | 35 } |
36 body.main1: [regular, 21:29-21:67] { | 36 body.main1: [regular, 21:29-21:67] { |
37 ['color':'#F00BAA'] @[21:81-21:96] | 37 ['color':'#F00BAA'] @[21:81-21:96] |
38 ['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[21:
96-21:149] | 38 ['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[21:
96-21:149] |
39 } | 39 } |
40 body.main2: [regular, 23:0-23:10] { | 40 body.main2: [regular, 23:0-23:10] { |
41 ['background':'green /* value !important comment */ !important /* no semicol
on, very !important */' is-important] @[23:11-23:106] | 41 ['background':'green /* value !important comment */ !important /* no semicol
on, very !important */' is-important] @[23:11-23:106] |
| 42 ['background-size':'initial' is-important] @[undefined-undefined] |
| 43 ['background-color':'green' is-important] @[undefined-undefined] |
| 44 ['background-clip':'initial' is-important] @[undefined-undefined] |
| 45 ['background-origin':'initial' is-important] @[undefined-undefined] |
| 46 ['background-position-y':'initial' is-important] @[undefined-undefined] |
| 47 ['background-position-x':'initial' is-important] @[undefined-undefined] |
| 48 ['background-attachment':'initial' is-important] @[undefined-undefined] |
| 49 ['background-repeat-y':'initial' is-important] @[undefined-undefined] |
| 50 ['background-repeat-x':'initial' is-important] @[undefined-undefined] |
42 ['background-image':'initial' is-important] @[undefined-undefined] | 51 ['background-image':'initial' is-important] @[undefined-undefined] |
43 ['background-repeat-x':'initial' is-important] @[undefined-undefined] | |
44 ['background-repeat-y':'initial' is-important] @[undefined-undefined] | |
45 ['background-attachment':'initial' is-important] @[undefined-undefined] | |
46 ['background-position-x':'initial' is-important] @[undefined-undefined] | |
47 ['background-position-y':'initial' is-important] @[undefined-undefined] | |
48 ['background-origin':'initial' is-important] @[undefined-undefined] | |
49 ['background-clip':'initial' is-important] @[undefined-undefined] | |
50 ['background-color':'green' is-important] @[undefined-undefined] | |
51 ['background-size':'initial' is-important] @[undefined-undefined] | |
52 } | 52 } |
53 body.mainpage: [regular, 3:0-3:13] { | 53 body.mainpage: [regular, 3:0-3:13] { |
54 ['text-decoration':'none'] @[4:4-4:26] | 54 ['text-decoration':'none'] @[4:4-4:26] |
55 ['badproperty':'1badvalue1' non-parsed] @[5:5-5:29] | 55 ['badproperty':'1badvalue1' non-parsed] @[5:5-5:29] |
56 ['text-decoration-line':'none'] @[undefined-undefined] | 56 ['text-decoration-line':'none'] @[undefined-undefined] |
57 ['text-decoration-style':'initial'] @[undefined-undefined] | 57 ['text-decoration-style':'initial'] @[undefined-undefined] |
58 ['text-decoration-color':'initial'] @[undefined-undefined] | 58 ['text-decoration-color':'initial'] @[undefined-undefined] |
59 } | 59 } |
60 body.mainpage: [regular, 8:0-8:13] { | 60 body.mainpage: [regular, 8:0-8:13] { |
61 ['prop1':'val1' non-parsed] @[9:4-9:16] | 61 ['prop1':'val1' non-parsed] @[9:4-9:16] |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 ['important':'!important' is-important non-parsed] @[16:4-16:25] | 111 ['important':'!important' is-important non-parsed] @[16:4-16:25] |
112 ['color':'yellow'] @[17:4-17:18] | 112 ['color':'yellow'] @[17:4-17:18] |
113 ['color':'"badcolor" ! important /* good property with strange value */' is-
important non-parsed] @[18:4-18:73] | 113 ['color':'"badcolor" ! important /* good property with strange value */' is-
important non-parsed] @[18:4-18:73] |
114 } | 114 } |
115 body.main1: [regular, 21:29-21:67] { | 115 body.main1: [regular, 21:29-21:67] { |
116 ['color':'#F00BAA'] @[21:81-21:96] | 116 ['color':'#F00BAA'] @[21:81-21:96] |
117 ['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[21:
96-21:149] | 117 ['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[21:
96-21:149] |
118 } | 118 } |
119 body.main2: [regular, 23:0-23:10] { | 119 body.main2: [regular, 23:0-23:10] { |
120 ['background':'green /* value !important comment */ !important /* no semicol
on, very !important */' is-important] @[23:11-23:106] | 120 ['background':'green /* value !important comment */ !important /* no semicol
on, very !important */' is-important] @[23:11-23:106] |
| 121 ['background-size':'initial' is-important] @[undefined-undefined] |
| 122 ['background-color':'green' is-important] @[undefined-undefined] |
| 123 ['background-clip':'initial' is-important] @[undefined-undefined] |
| 124 ['background-origin':'initial' is-important] @[undefined-undefined] |
| 125 ['background-position-y':'initial' is-important] @[undefined-undefined] |
| 126 ['background-position-x':'initial' is-important] @[undefined-undefined] |
| 127 ['background-attachment':'initial' is-important] @[undefined-undefined] |
| 128 ['background-repeat-y':'initial' is-important] @[undefined-undefined] |
| 129 ['background-repeat-x':'initial' is-important] @[undefined-undefined] |
121 ['background-image':'initial' is-important] @[undefined-undefined] | 130 ['background-image':'initial' is-important] @[undefined-undefined] |
122 ['background-repeat-x':'initial' is-important] @[undefined-undefined] | |
123 ['background-repeat-y':'initial' is-important] @[undefined-undefined] | |
124 ['background-attachment':'initial' is-important] @[undefined-undefined] | |
125 ['background-position-x':'initial' is-important] @[undefined-undefined] | |
126 ['background-position-y':'initial' is-important] @[undefined-undefined] | |
127 ['background-origin':'initial' is-important] @[undefined-undefined] | |
128 ['background-clip':'initial' is-important] @[undefined-undefined] | |
129 ['background-color':'green' is-important] @[undefined-undefined] | |
130 ['background-size':'initial' is-important] @[undefined-undefined] | |
131 } | 131 } |
132 body.mainpage: [regular, 3:0-3:13] { | 132 body.mainpage: [regular, 3:0-3:13] { |
133 ['text-decoration':'none'] @[4:4-4:26] | 133 ['text-decoration':'none'] @[4:4-4:26] |
134 ['badproperty':'1badvalue1' non-parsed] @[5:5-5:29] | 134 ['badproperty':'1badvalue1' non-parsed] @[5:5-5:29] |
135 ['text-decoration-line':'none'] @[undefined-undefined] | 135 ['text-decoration-line':'none'] @[undefined-undefined] |
136 ['text-decoration-style':'initial'] @[undefined-undefined] | 136 ['text-decoration-style':'initial'] @[undefined-undefined] |
137 ['text-decoration-color':'initial'] @[undefined-undefined] | 137 ['text-decoration-color':'initial'] @[undefined-undefined] |
138 } | 138 } |
139 body.mainpage: [regular, 8:0-8:13] { | 139 body.mainpage: [regular, 8:0-8:13] { |
140 ['prop1':'val1' non-parsed] @[9:4-9:16] | 140 ['prop1':'val1' non-parsed] @[9:4-9:16] |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 } | 331 } |
332 body: [inspector, 0:0-0:4] { | 332 body: [inspector, 0:0-0:4] { |
333 ['font-family':'serif'] @[1:4-1:23] | 333 ['font-family':'serif'] @[1:4-1:23] |
334 } | 334 } |
335 body.main1: [regular, 21:29-21:67] { | 335 body.main1: [regular, 21:29-21:67] { |
336 ['color':'#F00BAA'] @[21:81-21:96] | 336 ['color':'#F00BAA'] @[21:81-21:96] |
337 ['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[21:
96-21:149] | 337 ['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[21:
96-21:149] |
338 } | 338 } |
339 body.main2: [regular, 23:0-23:10] { | 339 body.main2: [regular, 23:0-23:10] { |
340 ['background':'green /* value !important comment */ !important /* no semicol
on, very !important */' is-important] @[23:11-23:106] | 340 ['background':'green /* value !important comment */ !important /* no semicol
on, very !important */' is-important] @[23:11-23:106] |
| 341 ['background-size':'initial' is-important] @[undefined-undefined] |
| 342 ['background-color':'green' is-important] @[undefined-undefined] |
| 343 ['background-clip':'initial' is-important] @[undefined-undefined] |
| 344 ['background-origin':'initial' is-important] @[undefined-undefined] |
| 345 ['background-position-y':'initial' is-important] @[undefined-undefined] |
| 346 ['background-position-x':'initial' is-important] @[undefined-undefined] |
| 347 ['background-attachment':'initial' is-important] @[undefined-undefined] |
| 348 ['background-repeat-y':'initial' is-important] @[undefined-undefined] |
| 349 ['background-repeat-x':'initial' is-important] @[undefined-undefined] |
341 ['background-image':'initial' is-important] @[undefined-undefined] | 350 ['background-image':'initial' is-important] @[undefined-undefined] |
342 ['background-repeat-x':'initial' is-important] @[undefined-undefined] | |
343 ['background-repeat-y':'initial' is-important] @[undefined-undefined] | |
344 ['background-attachment':'initial' is-important] @[undefined-undefined] | |
345 ['background-position-x':'initial' is-important] @[undefined-undefined] | |
346 ['background-position-y':'initial' is-important] @[undefined-undefined] | |
347 ['background-origin':'initial' is-important] @[undefined-undefined] | |
348 ['background-clip':'initial' is-important] @[undefined-undefined] | |
349 ['background-color':'green' is-important] @[undefined-undefined] | |
350 ['background-size':'initial' is-important] @[undefined-undefined] | |
351 } | 351 } |
352 | 352 |
353 Running: test_disableProperty | 353 Running: test_disableProperty |
354 | 354 |
355 === After property manipulations === | 355 === After property manipulations === |
356 [text='/* height : 100% ; */'] disabled | 356 [text='/* height : 100% ; */'] disabled |
357 ['border':'1px solid'] @[31:26-31:44] | 357 ['border':'1px solid'] @[31:26-31:44] |
358 ['border-width':'2px'] @[31:45-31:63] | 358 ['border-width':'2px'] @[31:45-31:63] |
359 ['googles':'abra' non-parsed] @[31:65-31:79] | 359 ['googles':'abra' non-parsed] @[31:65-31:79] |
360 ['foo':'.bar' non-parsed] @[31:80-31:90] | 360 ['foo':'.bar' non-parsed] @[31:80-31:90] |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 ['border-top-color':'initial'] @[undefined-undefined] | 403 ['border-top-color':'initial'] @[undefined-undefined] |
404 ['border-right-color':'initial'] @[undefined-undefined] | 404 ['border-right-color':'initial'] @[undefined-undefined] |
405 ['border-bottom-color':'initial'] @[undefined-undefined] | 405 ['border-bottom-color':'initial'] @[undefined-undefined] |
406 ['border-left-color':'initial'] @[undefined-undefined] | 406 ['border-left-color':'initial'] @[undefined-undefined] |
407 ['border-image-source':'initial'] @[undefined-undefined] | 407 ['border-image-source':'initial'] @[undefined-undefined] |
408 ['border-image-slice':'initial'] @[undefined-undefined] | 408 ['border-image-slice':'initial'] @[undefined-undefined] |
409 ['border-image-width':'initial'] @[undefined-undefined] | 409 ['border-image-width':'initial'] @[undefined-undefined] |
410 ['border-image-outset':'initial'] @[undefined-undefined] | 410 ['border-image-outset':'initial'] @[undefined-undefined] |
411 ['border-image-repeat':'initial'] @[undefined-undefined] | 411 ['border-image-repeat':'initial'] @[undefined-undefined] |
412 | 412 |
OLD | NEW |