| 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\") 50% 50% / cover no-repeat
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" |
| 11 PASS checkComputedStyleValue() is true | 11 PASS checkComputedStyleValue() is true |
| 12 | 12 |
| 13 PASS e.style.background is "url(\"dummy://test.png\") 20px 50% / contain no-repe
at padding-box padding-box red" | 13 PASS e.style.background is "url(\"dummy://test.png\") 20px center / contain no-r
epeat padding-box padding-box red" |
| 14 PASS e.style.backgroundSize is "contain" | 14 PASS e.style.backgroundSize is "contain" |
| 15 PASS checkStyle() is true | 15 PASS checkStyle() is true |
| 16 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") no-repeat scroll 20px 50% / contain padding-box padding-box" | 16 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") no-repeat scroll 20px 50% / contain padding-box padding-box" |
| 17 PASS computedStyle.getPropertyValue("background-size") is "contain" | 17 PASS computedStyle.getPropertyValue("background-size") is "contain" |
| 18 PASS checkComputedStyleValue() is true | 18 PASS checkComputedStyleValue() is true |
| 19 | 19 |
| 20 PASS e.style.background is "url(\"dummy://test.png\") 50px 60px / 50% 75% no-rep
eat red" | 20 PASS e.style.background is "url(\"dummy://test.png\") 50px 60px / 50% 75% no-rep
eat red" |
| 21 PASS e.style.backgroundSize is "50% 75%" | 21 PASS e.style.backgroundSize is "50% 75%" |
| 22 PASS checkStyle() is true | 22 PASS checkStyle() is true |
| 23 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") no-repeat scroll 50px 60px / 50% 75% padding-box border-box" | 23 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") no-repeat scroll 50px 60px / 50% 75% padding-box border-box" |
| 24 PASS computedStyle.getPropertyValue("background-size") is "50% 75%" | 24 PASS computedStyle.getPropertyValue("background-size") is "50% 75%" |
| 25 PASS checkComputedStyleValue() is true | 25 PASS checkComputedStyleValue() is true |
| 26 | 26 |
| 27 PASS e.style.background is "url(\"dummy://test.png\") 0% 0% / 100px 200px repeat
border-box content-box red" | 27 PASS e.style.background is "url(\"dummy://test.png\") left top / 100px 200px rep
eat border-box content-box red" |
| 28 PASS e.style.backgroundSize is "100px 200px" | 28 PASS e.style.backgroundSize is "100px 200px" |
| 29 PASS checkStyle() is true | 29 PASS checkStyle() is true |
| 30 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") repeat scroll 0% 0% / 100px 200px border-box content-box" | 30 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") repeat scroll 0% 0% / 100px 200px border-box content-box" |
| 31 PASS computedStyle.getPropertyValue("background-size") is "100px 200px" | 31 PASS computedStyle.getPropertyValue("background-size") is "100px 200px" |
| 32 PASS checkComputedStyleValue() is true | 32 PASS checkComputedStyleValue() is true |
| 33 | 33 |
| 34 PASS e.style.background is "url(\"dummy://test.png\") 50% 50% / auto repeat cont
ent-box padding-box red" | 34 PASS e.style.background is "url(\"dummy://test.png\") 50% center / auto repeat c
ontent-box padding-box red" |
| 35 PASS e.style.backgroundSize is "auto" | 35 PASS e.style.backgroundSize is "auto" |
| 36 PASS checkStyle() is true | 36 PASS checkStyle() is true |
| 37 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") repeat scroll 50% 50% / auto content-box padding-box" | 37 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") repeat scroll 50% 50% / auto content-box padding-box" |
| 38 PASS computedStyle.getPropertyValue("background-size") is "auto" | 38 PASS computedStyle.getPropertyValue("background-size") is "auto" |
| 39 PASS checkComputedStyleValue() is true | 39 PASS checkComputedStyleValue() is true |
| 40 | 40 |
| 41 PASS e.style.background is "url(\"dummy://test.png\") 50px 60px / 50% no-repeat
fixed red" | 41 PASS e.style.background is "url(\"dummy://test.png\") 50px 60px / 50% no-repeat
fixed red" |
| 42 PASS e.style.backgroundSize is "50%" | 42 PASS e.style.backgroundSize is "50%" |
| 43 PASS checkStyle() is true | 43 PASS checkStyle() is true |
| 44 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") no-repeat fixed 50px 60px / 50% padding-box border-box" | 44 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") no-repeat fixed 50px 60px / 50% padding-box border-box" |
| 45 PASS computedStyle.getPropertyValue("background-size") is "50%" | 45 PASS computedStyle.getPropertyValue("background-size") is "50%" |
| 46 PASS checkComputedStyleValue() is true | 46 PASS checkComputedStyleValue() is true |
| 47 | 47 |
| 48 PASS e.style.background is "url(\"dummy://test.png\") 0% 0% / 100px repeat scrol
l padding-box border-box red" | 48 PASS e.style.background is "url(\"dummy://test.png\") left top / 100px repeat sc
roll padding-box border-box red" |
| 49 PASS e.style.backgroundSize is "100px" | 49 PASS e.style.backgroundSize is "100px" |
| 50 PASS checkStyle() is true | 50 PASS checkStyle() is true |
| 51 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") repeat scroll 0% 0% / 100px padding-box border-box" | 51 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") repeat scroll 0% 0% / 100px padding-box border-box" |
| 52 PASS computedStyle.getPropertyValue("background-size") is "100px" | 52 PASS computedStyle.getPropertyValue("background-size") is "100px" |
| 53 PASS checkComputedStyleValue() is true | 53 PASS checkComputedStyleValue() is true |
| 54 | 54 |
| 55 PASS e.style.background is "url(\"dummy://test.png\") 50% 50% / auto repeat fixe
d content-box content-box red" | 55 PASS e.style.background is "url(\"dummy://test.png\") 50% center / auto repeat f
ixed content-box content-box red" |
| 56 PASS e.style.backgroundSize is "auto" | 56 PASS e.style.backgroundSize is "auto" |
| 57 PASS checkStyle() is true | 57 PASS checkStyle() is true |
| 58 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") repeat fixed 50% 50% / auto content-box content-box" | 58 PASS computedStyle.getPropertyValue("background") is "rgb(255, 0, 0) url(\"dummy
://test.png\") repeat fixed 50% 50% / auto content-box content-box" |
| 59 PASS computedStyle.getPropertyValue("background-size") is "auto" | 59 PASS computedStyle.getPropertyValue("background-size") is "auto" |
| 60 PASS checkComputedStyleValue() is true | 60 PASS checkComputedStyleValue() is true |
| 61 | 61 |
| 62 PASS e.style.background is "0% 0% / 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 "initial" |
| 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" |
| (...skipping 18 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 |