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 outline shorthand property returns CSSValueList p
roperly.") | 10 description("Test to make sure outline shorthand property returns CSSValueList p
roperly.") |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 shouldBe("computedStyle.getPropertyCSSValue('outline').cssText", "'rgb(255, 0, 0
) none 0px'"); | 47 shouldBe("computedStyle.getPropertyCSSValue('outline').cssText", "'rgb(255, 0, 0
) none 0px'"); |
48 shouldBe("computedStyle.getPropertyCSSValue('outline').item(0).getRGBColorValue(
).red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER)", "255"); | 48 shouldBe("computedStyle.getPropertyCSSValue('outline').item(0).getRGBColorValue(
).red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER)", "255"); |
49 shouldBe("computedStyle.getPropertyCSSValue('outline').item(0).getRGBColorValue(
).green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER)", "0"); | 49 shouldBe("computedStyle.getPropertyCSSValue('outline').item(0).getRGBColorValue(
).green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER)", "0"); |
50 shouldBe("computedStyle.getPropertyCSSValue('outline').item(0).getRGBColorValue(
).blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER)", "0"); | 50 shouldBe("computedStyle.getPropertyCSSValue('outline').item(0).getRGBColorValue(
).blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER)", "0"); |
51 shouldBe("computedStyle.getPropertyCSSValue('outline').item(1).getStringValue()"
, "'none'"); | 51 shouldBe("computedStyle.getPropertyCSSValue('outline').item(1).getStringValue()"
, "'none'"); |
52 shouldBe("computedStyle.getPropertyCSSValue('outline').item(2).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "0"); | 52 shouldBe("computedStyle.getPropertyCSSValue('outline').item(2).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "0"); |
53 | 53 |
54 document.body.removeChild(testContainer); | 54 document.body.removeChild(testContainer); |
55 | 55 |
56 </script> | 56 </script> |
57 <script src="../../js/resources/js-test-post.js"></script> | |
58 </body> | 57 </body> |
59 </html> | 58 </html> |
OLD | NEW |