OLD | NEW |
1 Test to make sure background-position is parsed correctly. | 1 Test to make sure background-position is parsed correctly. |
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 background-position with one value | 6 background-position with one value |
7 PASS computedStyle.backgroundPosition is '0% 0%' | 7 PASS computedStyle.backgroundPosition is '0% 0%' |
8 PASS style.backgroundPosition is '70% center' | 8 PASS style.backgroundPosition is '70% center' |
9 PASS computedStyle.backgroundPosition is '70% 50%' | 9 PASS computedStyle.backgroundPosition is '70% 50%' |
10 PASS style.backgroundPosition is '84px center' | 10 PASS style.backgroundPosition is '84px center' |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 background-position with invalid CSS3 four values and comma, no change expected | 193 background-position with invalid CSS3 four values and comma, no change expected |
194 PASS style.backgroundPosition is 'right top 15px, right 20px bottom' | 194 PASS style.backgroundPosition is 'right top 15px, right 20px bottom' |
195 PASS computedStyle.backgroundPosition is '100% top 15px, right 20px 100%' | 195 PASS computedStyle.backgroundPosition is '100% top 15px, right 20px 100%' |
196 PASS style.backgroundPosition is 'right top 15px, right 20px bottom' | 196 PASS style.backgroundPosition is 'right top 15px, right 20px bottom' |
197 PASS computedStyle.backgroundPosition is '100% top 15px, right 20px 100%' | 197 PASS computedStyle.backgroundPosition is '100% top 15px, right 20px 100%' |
198 PASS style.backgroundPosition is 'right top 15px, right 20px bottom' | 198 PASS style.backgroundPosition is 'right top 15px, right 20px bottom' |
199 PASS computedStyle.backgroundPosition is '100% top 15px, right 20px 100%' | 199 PASS computedStyle.backgroundPosition is '100% top 15px, right 20px 100%' |
200 background-position inside the background shorthand | 200 background-position inside the background shorthand |
201 PASS style.background is 'left 30% top 10% / 10em round fixed border-box border-
box gray' | 201 PASS style.background is 'left 30% top 10% / 10em round fixed border-box border-
box gray' |
202 PASS computedStyle.background is 'rgb(128, 128, 128) none round fixed left 30% t
op 10% / 160px border-box border-box' | 202 PASS computedStyle.background is 'rgb(128, 128, 128) none round fixed left 30% t
op 10% / 160px border-box border-box' |
203 PASS style.background is 'right 0% top 15px / 10em round fixed border-box border
-box gray' | 203 PASS style.background is 'right top 15px / 10em round fixed border-box border-bo
x gray' |
204 PASS computedStyle.background is 'rgb(128, 128, 128) none round fixed right 0% t
op 15px / 160px border-box border-box' | 204 PASS computedStyle.background is 'rgb(128, 128, 128) none round fixed 100% top 1
5px / 160px border-box border-box' |
205 PASS style.background is 'left 10px top 50% / 10em round fixed border-box border
-box gray' | 205 PASS style.background is 'left 10px center / 10em round fixed border-box border-
box gray' |
206 PASS computedStyle.background is 'rgb(128, 128, 128) none round fixed left 10px
top 50% / 160px border-box border-box' | 206 PASS computedStyle.background is 'rgb(128, 128, 128) none round fixed left 10px
50% / 160px border-box border-box' |
207 PASS style.background is 'left 10px top 50% round fixed border-box border-box' | 207 PASS style.background is 'left 10px center round fixed border-box border-box' |
208 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 10px to
p 50% / auto border-box border-box' | 208 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 10px 50
% / auto border-box border-box' |
209 PASS style.background is 'left 50% top 20px round fixed border-box border-box' | 209 PASS style.background is 'center top 20px round fixed border-box border-box' |
210 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 50% top
20px / auto border-box border-box' | 210 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed 50% top 20px
/ auto border-box border-box' |
211 PASS style.background is 'left 50% top 20px round fixed border-box border-box' | 211 PASS style.background is 'center top 20px round fixed border-box border-box' |
212 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 50% top
20px / auto border-box border-box' | 212 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed 50% top 20px
/ auto border-box border-box' |
213 PASS style.background is '50% 0% round fixed border-box border-box' | 213 PASS style.background is 'center top round fixed border-box border-box' |
214 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed 50% 0% / aut
o border-box border-box' | 214 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed 50% 0% / aut
o border-box border-box' |
215 PASS style.background is '50px 60px / 50px round fixed border-box border-box' | 215 PASS style.background is '50px 60px / 50px round fixed border-box border-box' |
216 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed 50px 60px /
50px border-box border-box' | 216 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed 50px 60px /
50px border-box border-box' |
217 PASS style.background is '50px 50% / 50px round fixed border-box border-box' | 217 PASS style.background is '50px center / 50px round fixed border-box border-box' |
218 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed 50px 50% / 5
0px border-box border-box' | 218 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed 50px 50% / 5
0px border-box border-box' |
219 PASS style.background is 'left 0% top 60px / 50px round fixed border-box border-
box' | 219 PASS style.background is 'left top 60px / 50px round fixed border-box border-box
' |
220 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 0% top
60px / 50px border-box border-box' | 220 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed 0% top 60px
/ 50px border-box border-box' |
221 PASS style.background is 'left -20px top 60px / 50px round fixed border-box bord
er-box' | 221 PASS style.background is 'left -20px top 60px / 50px round fixed border-box bord
er-box' |
222 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left -20px t
op 60px / 50px border-box border-box' | 222 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left -20px t
op 60px / 50px border-box border-box' |
223 PASS style.background is 'left 20px top 0% / 50px round fixed border-box border-
box' | 223 PASS style.background is 'left 20px top / 50px round fixed border-box border-box
' |
224 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 20px to
p 0% / 50px border-box border-box' | 224 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 20px 0%
/ 50px border-box border-box' |
225 PASS style.background is 'left 20px top 0% / 50px round fixed border-box border-
box' | 225 PASS style.background is 'left 20px top / 50px round fixed border-box border-box
' |
226 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 20px to
p 0% / 50px border-box border-box' | 226 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 20px 0%
/ 50px border-box border-box' |
227 PASS style.background is 'left 20px top 40px / 50px round fixed border-box borde
r-box' | 227 PASS style.background is 'left 20px top 40px / 50px round fixed border-box borde
r-box' |
228 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 20px to
p 40px / 50px border-box border-box' | 228 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 20px to
p 40px / 50px border-box border-box' |
229 PASS style.background is 'left 20px top 40px round fixed border-box border-box' | 229 PASS style.background is 'left 20px top 40px round fixed border-box border-box' |
230 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 20px to
p 40px / auto border-box border-box' | 230 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none round fixed left 20px to
p 40px / auto border-box border-box' |
231 PASS style.background is 'left 30% top 10% round fixed border-box border-box gra
y' | 231 PASS style.background is 'left 30% top 10% round fixed border-box border-box gra
y' |
232 PASS computedStyle.background is 'rgb(128, 128, 128) none round fixed left 30% t
op 10% / auto border-box border-box' | 232 PASS computedStyle.background is 'rgb(128, 128, 128) none round fixed left 30% t
op 10% / auto border-box border-box' |
233 background-position inside the background shorthand, some invalid cases, no chan
ges expected | 233 background-position inside the background shorthand, some invalid cases, no chan
ges expected |
234 PASS style.background is '' | 234 PASS style.background is '' |
235 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / au
to padding-box border-box' | 235 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / au
to padding-box border-box' |
236 PASS style.background is '' | 236 PASS style.background is '' |
(...skipping 19 matching lines...) Expand all Loading... |
256 PASS style.background is '' | 256 PASS style.background is '' |
257 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / au
to padding-box border-box' | 257 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / au
to padding-box border-box' |
258 PASS style.background is '' | 258 PASS style.background is '' |
259 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / au
to padding-box border-box' | 259 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / au
to padding-box border-box' |
260 PASS style.background is '' | 260 PASS style.background is '' |
261 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / au
to padding-box border-box' | 261 PASS computedStyle.background is 'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / au
to padding-box border-box' |
262 PASS successfullyParsed is true | 262 PASS successfullyParsed is true |
263 | 263 |
264 TEST COMPLETE | 264 TEST COMPLETE |
265 | 265 |
OLD | NEW |