OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <script src="../js/resources/js-test-pre.js"></script> | 5 <script src="../js/resources/js-test-pre.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <script> | 8 <script> |
9 | 9 |
10 description("Test to make sure the box-decoration-break property is correctly pa
rsed.") | 10 description("Test to make sure the box-decoration-break property is correctly pa
rsed.") |
(...skipping 15 matching lines...) Expand all Loading... |
26 shouldBe("computedStyle.getPropertyValue('-webkit-box-decoration-break')", "'clo
ne'"); | 26 shouldBe("computedStyle.getPropertyValue('-webkit-box-decoration-break')", "'clo
ne'"); |
27 | 27 |
28 e.style.webkitBoxDecorationBreak = ""; | 28 e.style.webkitBoxDecorationBreak = ""; |
29 e.style.webkitBoxDecorationBreak = "invalid"; | 29 e.style.webkitBoxDecorationBreak = "invalid"; |
30 shouldBe("e.style.getPropertyValue('-webkit-box-decoration-break')", "null"); | 30 shouldBe("e.style.getPropertyValue('-webkit-box-decoration-break')", "null"); |
31 shouldBe("computedStyle.getPropertyValue('-webkit-box-decoration-break')", "'sli
ce'"); | 31 shouldBe("computedStyle.getPropertyValue('-webkit-box-decoration-break')", "'sli
ce'"); |
32 | 32 |
33 document.body.removeChild(testContainer); | 33 document.body.removeChild(testContainer); |
34 | 34 |
35 </script> | 35 </script> |
36 <script src="../js/resources/js-test-post.js"></script> | |
37 </body> | 36 </body> |
38 </html> | 37 </html> |
OLD | NEW |