| OLD | NEW |
| (Empty) |
| 1 Test background properties obtained by using cssText when the properties are set
by using style element's textContent. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 PASS test('.test { background: none; }') is ".test { background: none; }" | |
| 7 PASS test('.test { background: none; background-color: black;}') is ".test { bac
kground: none black; }" | |
| 8 PASS test('.test { background: none; background-color: initial !important;}') is
".test { background-image: none; background-position: initial; background-size:
initial; background-repeat: initial; background-attachment: initial; background
-origin: initial; background-clip: initial; background-color: initial !important
; }" | |
| 9 PASS test('.test { background: initial; }') is ".test { background: initial; }" | |
| 10 PASS test('.test { background: initial; background-color: black; }') is ".test {
background-image: initial; background-position: initial; background-size: initi
al; background-repeat: initial; background-attachment: initial; background-origi
n: initial; background-clip: initial; background-color: black; }" | |
| 11 PASS test('.test { background: inherit; }') is ".test { background: inherit; }" | |
| 12 PASS test('.test { background: inherit; background-color: black; }') is ".test {
background-image: inherit; background-position: inherit; background-size: inher
it; background-repeat: inherit; background-attachment: inherit; background-origi
n: inherit; background-clip: inherit; background-color: black; }" | |
| 13 PASS test('.test { background: none; background-repeat: repeat-x !important;}')
is ".test { background-image: none; background-position: initial; background-siz
e: initial; background-attachment: initial; background-origin: initial; backgrou
nd-clip: initial; background-color: initial; background-repeat: repeat-x !import
ant; }" | |
| 14 PASS test('.test { background: none; background-repeat: repeat-x;}') is ".test {
background: none repeat-x; }" | |
| 15 PASS test('.test { background: none; background-position-x: 0%;}') is ".test { b
ackground: none 0%; }" | |
| 16 PASS test('.test { background: none; background-position: 20% 80%;}') is ".test
{ background: none 20% 80%; }" | |
| 17 PASS test('.test { background-position-x: 5%; }') is ".test { background-positio
n-x: 5%; }" | |
| 18 PASS test('.test { background-position-y: 5%; }') is ".test { background-positio
n-y: 5%; }" | |
| 19 PASS test('.test { background-position-x: 5%; background-position-y: 10%; }') is
".test { background-position: 5% 10%; }" | |
| 20 PASS test('.test { background-position-x: 5%; background-position-y: 10% !import
ant; }') is ".test { background-position-x: 5%; background-position-y: 10% !impo
rtant; }" | |
| 21 PASS test('.test { background: url(dummy://test.png); }') is ".test { background
: url(\"dummy://test.png\"); }" | |
| 22 PASS test('.test { background: url(dummy://test.png); background-color: black; }
') is ".test { background: url(\"dummy://test.png\") black; }" | |
| 23 PASS successfullyParsed is true | |
| 24 | |
| 25 TEST COMPLETE | |
| 26 | |
| OLD | NEW |