OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 description("Test to make sure background-position is parsed correctly.") | 8 description("Test to make sure background-position is parsed correctly.") |
9 | 9 |
10 var testContainer = document.createElement("div"); | 10 var testContainer = document.createElement("div"); |
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 style.background = "20px 20px 30px 60px 70px / 40px gray round fixed border-box"
; | 525 style.background = "20px 20px 30px 60px 70px / 40px gray round fixed border-box"
; |
526 shouldBe("style.background", "''"); | 526 shouldBe("style.background", "''"); |
527 shouldBe("computedStyle.background", "'rgba(0, 0, 0, 0) none repeat scroll 0% 0%
/ auto padding-box border-box'"); | 527 shouldBe("computedStyle.background", "'rgba(0, 0, 0, 0) none repeat scroll 0% 0%
/ auto padding-box border-box'"); |
528 | 528 |
529 style.background = "20px 20px 30px / 40px gray top left round fixed border-box"; | 529 style.background = "20px 20px 30px / 40px gray top left round fixed border-box"; |
530 shouldBe("style.background", "''"); | 530 shouldBe("style.background", "''"); |
531 shouldBe("computedStyle.background", "'rgba(0, 0, 0, 0) none repeat scroll 0% 0%
/ auto padding-box border-box'"); | 531 shouldBe("computedStyle.background", "'rgba(0, 0, 0, 0) none repeat scroll 0% 0%
/ auto padding-box border-box'"); |
532 | 532 |
533 document.body.removeChild(testContainer); | 533 document.body.removeChild(testContainer); |
534 </script> | 534 </script> |
535 <script src="../js/resources/js-test-post.js"></script> | |
536 </body> | 535 </body> |
537 </html> | 536 </html> |
OLD | NEW |