OLD | NEW |
1 This page tests whether or not the background shorthand properly omits initial v
alues. | 1 This page tests whether or not the background shorthand properly omits initial v
alues. |
2 | 2 |
3 PASS: document.body.style.background == 'green' should be true and is. | 3 PASS: document.body.style.background == 'green' should be true and is. |
4 PASS: document.getElementById('div1').style.background == 'repeat-x, repeat-y wh
ite' should be true and is. | 4 PASS: document.getElementById('div1').style.background == '' should be true and
is. |
5 PASS: document.getElementById('div2').style.background == '50% 50% blue' should
be true and is. | 5 PASS: document.getElementById('div2').style.background == '50% 50% blue' should
be true and is. |
6 PASS: document.getElementById('div3').style.background == 'none repeat scroll rg
b(255, 255, 255)' should be true and is. | 6 PASS: document.getElementById('div3').style.background == 'none repeat scroll rg
b(255, 255, 255)' should be true and is. |
OLD | NEW |