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 border-style shorthand property returns CSSValueL
ist properly.") | 10 description("Test to make sure border-style shorthand property returns CSSValueL
ist properly.") |
(...skipping 21 matching lines...) Expand all Loading... |
32 shouldBe("computedStyle.getPropertyCSSValue('border-style').length", "4"); | 32 shouldBe("computedStyle.getPropertyCSSValue('border-style').length", "4"); |
33 shouldBe("computedStyle.getPropertyCSSValue('border-style').cssText", "'solid do
tted groove dashed'"); | 33 shouldBe("computedStyle.getPropertyCSSValue('border-style').cssText", "'solid do
tted groove dashed'"); |
34 shouldBe("computedStyle.getPropertyCSSValue('border-style').item(0).getStringVal
ue()", "'solid'"); | 34 shouldBe("computedStyle.getPropertyCSSValue('border-style').item(0).getStringVal
ue()", "'solid'"); |
35 shouldBe("computedStyle.getPropertyCSSValue('border-style').item(1).getStringVal
ue()", "'dotted'"); | 35 shouldBe("computedStyle.getPropertyCSSValue('border-style').item(1).getStringVal
ue()", "'dotted'"); |
36 shouldBe("computedStyle.getPropertyCSSValue('border-style').item(2).getStringVal
ue()", "'groove'"); | 36 shouldBe("computedStyle.getPropertyCSSValue('border-style').item(2).getStringVal
ue()", "'groove'"); |
37 shouldBe("computedStyle.getPropertyCSSValue('border-style').item(3).getStringVal
ue()", "'dashed'"); | 37 shouldBe("computedStyle.getPropertyCSSValue('border-style').item(3).getStringVal
ue()", "'dashed'"); |
38 | 38 |
39 document.body.removeChild(testContainer); | 39 document.body.removeChild(testContainer); |
40 | 40 |
41 </script> | 41 </script> |
42 <script src="../../js/resources/js-test-post.js"></script> | |
43 </body> | 42 </body> |
44 </html> | 43 </html> |
OLD | NEW |