OLD | NEW |
1 Tests background shortand property with background-size | 1 Tests background shortand property with background-size |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS e.style.background is "url(\"dummy://test.png\") center center / cover no-r
epeat border-box border-box red" | 6 PASS e.style.background is "url(\"dummy://test.png\") center center / cover no-r
epeat border-box border-box red" |
7 PASS e.style.backgroundSize is "cover" | 7 PASS e.style.backgroundSize is "cover" |
8 PASS checkStyle() is true | 8 PASS checkStyle() is true |
9 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") no-repeat scroll 50% 50% / cover border-box border-box" | 9 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") no-repeat scroll 50% 50% / cover border-box border-box" |
10 PASS computedStyle.getPropertyValue("background-size") is "cover" | 10 PASS computedStyle.getPropertyValue("background-size") is "cover" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 PASS checkComputedStyleValue() is true | 60 PASS checkComputedStyleValue() is true |
61 | 61 |
62 PASS e.style.background is "left top / 50%" | 62 PASS e.style.background is "left top / 50%" |
63 PASS e.style.backgroundSize is "50%" | 63 PASS e.style.backgroundSize is "50%" |
64 PASS checkStyle() is true | 64 PASS checkStyle() is true |
65 PASS computedStyle.getPropertyValue("background") is "rgba(0, 0, 0, 0) none repe
at scroll 0% 0% / 50% padding-box border-box" | 65 PASS computedStyle.getPropertyValue("background") is "rgba(0, 0, 0, 0) none repe
at scroll 0% 0% / 50% padding-box border-box" |
66 PASS computedStyle.getPropertyValue("background-size") is "50%" | 66 PASS computedStyle.getPropertyValue("background-size") is "50%" |
67 PASS checkComputedStyleValue() is true | 67 PASS checkComputedStyleValue() is true |
68 | 68 |
69 PASS e.style.background is "fixed red" | 69 PASS e.style.background is "fixed red" |
70 PASS e.style.backgroundSize is "initial" | 70 PASS e.style.backgroundSize is "auto" |
71 PASS checkStyle() is true | 71 PASS checkStyle() is true |
72 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) none repeat
fixed 0% 0% / auto padding-box border-box" | 72 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) none repeat
fixed 0% 0% / auto padding-box border-box" |
73 PASS computedStyle.getPropertyValue("background-size") is "auto" | 73 PASS computedStyle.getPropertyValue("background-size") is "auto" |
74 PASS checkComputedStyleValue() is true | 74 PASS checkComputedStyleValue() is true |
75 | 75 |
76 PASS e.style.background is "" | 76 PASS e.style.background is "" |
77 PASS e.style.backgroundSize is "" | 77 PASS e.style.backgroundSize is "" |
78 PASS checkStyle() is true | 78 PASS checkStyle() is true |
79 PASS computedStyle.getPropertyValue("background") is "rgba(0, 0, 0, 0) none repe
at scroll 0% 0% / auto padding-box border-box" | 79 PASS computedStyle.getPropertyValue("background") is "rgba(0, 0, 0, 0) none repe
at scroll 0% 0% / auto padding-box border-box" |
80 PASS computedStyle.getPropertyValue("background-size") is "auto" | 80 PASS computedStyle.getPropertyValue("background-size") is "auto" |
(...skipping 10 matching lines...) Expand all Loading... |
91 PASS e.style.backgroundSize is "" | 91 PASS e.style.backgroundSize is "" |
92 PASS checkStyle() is true | 92 PASS checkStyle() is true |
93 PASS computedStyle.getPropertyValue("background") is "rgba(0, 0, 0, 0) none repe
at scroll 0% 0% / auto padding-box border-box" | 93 PASS computedStyle.getPropertyValue("background") is "rgba(0, 0, 0, 0) none repe
at scroll 0% 0% / auto padding-box border-box" |
94 PASS computedStyle.getPropertyValue("background-size") is "auto" | 94 PASS computedStyle.getPropertyValue("background-size") is "auto" |
95 PASS checkComputedStyleValue() is true | 95 PASS checkComputedStyleValue() is true |
96 | 96 |
97 PASS successfullyParsed is true | 97 PASS successfullyParsed is true |
98 | 98 |
99 TEST COMPLETE | 99 TEST COMPLETE |
100 | 100 |
OLD | NEW |