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 list-style shorthand property returns CSSValueLis
t properly.") | 10 description("Test to make sure list-style shorthand property returns CSSValueLis
t properly.") |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 shouldBe("computedStyle.getPropertyCSSValue('list-style').toString()", "'[object
CSSValueList]'"); | 63 shouldBe("computedStyle.getPropertyCSSValue('list-style').toString()", "'[object
CSSValueList]'"); |
64 shouldBe("computedStyle.getPropertyCSSValue('list-style').length", "3"); | 64 shouldBe("computedStyle.getPropertyCSSValue('list-style').length", "3"); |
65 shouldBe("computedStyle.getPropertyCSSValue('list-style').cssText", "'circle out
side url(dummy://test.png)'"); | 65 shouldBe("computedStyle.getPropertyCSSValue('list-style').cssText", "'circle out
side url(dummy://test.png)'"); |
66 shouldBe("computedStyle.getPropertyCSSValue('list-style').item(0).getStringValue
()", "'circle'"); | 66 shouldBe("computedStyle.getPropertyCSSValue('list-style').item(0).getStringValue
()", "'circle'"); |
67 shouldBe("computedStyle.getPropertyCSSValue('list-style').item(1).getStringValue
()", "'outside'"); | 67 shouldBe("computedStyle.getPropertyCSSValue('list-style').item(1).getStringValue
()", "'outside'"); |
68 shouldBe("computedStyle.getPropertyCSSValue('list-style').item(2).getStringValue
()", "'dummy://test.png'"); | 68 shouldBe("computedStyle.getPropertyCSSValue('list-style').item(2).getStringValue
()", "'dummy://test.png'"); |
69 | 69 |
70 document.body.removeChild(testContainer); | 70 document.body.removeChild(testContainer); |
71 | 71 |
72 </script> | 72 </script> |
73 <script src="../../js/resources/js-test-post.js"></script> | |
74 </body> | 73 </body> |
75 </html> | 74 </html> |
OLD | NEW |