| 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 padding shorthand property returns CSSValueList p
roperly.") | 10 description("Test to make sure padding shorthand property returns CSSValueList p
roperly.") |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 shouldBe("computedStyle.getPropertyCSSValue('padding').length", "4"); | 44 shouldBe("computedStyle.getPropertyCSSValue('padding').length", "4"); |
| 45 shouldBe("computedStyle.getPropertyCSSValue('padding').cssText", "'5px 6px 7px 8
px'"); | 45 shouldBe("computedStyle.getPropertyCSSValue('padding').cssText", "'5px 6px 7px 8
px'"); |
| 46 shouldBe("computedStyle.getPropertyCSSValue('padding').item(0).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "5"); | 46 shouldBe("computedStyle.getPropertyCSSValue('padding').item(0).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "5"); |
| 47 shouldBe("computedStyle.getPropertyCSSValue('padding').item(1).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "6"); | 47 shouldBe("computedStyle.getPropertyCSSValue('padding').item(1).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "6"); |
| 48 shouldBe("computedStyle.getPropertyCSSValue('padding').item(2).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "7"); | 48 shouldBe("computedStyle.getPropertyCSSValue('padding').item(2).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "7"); |
| 49 shouldBe("computedStyle.getPropertyCSSValue('padding').item(3).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "8"); | 49 shouldBe("computedStyle.getPropertyCSSValue('padding').item(3).getFloatValue(CSS
PrimitiveValue.CSS_NUMBER)", "8"); |
| 50 | 50 |
| 51 document.body.removeChild(testContainer); | 51 document.body.removeChild(testContainer); |
| 52 | 52 |
| 53 </script> | 53 </script> |
| 54 <script src="../../js/resources/js-test-post.js"></script> | |
| 55 </body> | 54 </body> |
| 56 </html> | 55 </html> |
| OLD | NEW |