| 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 margin shorthand property returns CSSValueList pr
operly.") | 10 description("Test to make sure margin shorthand property returns CSSValueList pr
operly.") |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 shouldBe("computedStyle.getPropertyCSSValue('margin').length", "4"); | 44 shouldBe("computedStyle.getPropertyCSSValue('margin').length", "4"); |
| 45 shouldBe("computedStyle.getPropertyCSSValue('margin').cssText", "'5px 6px 7px 8p
x'"); | 45 shouldBe("computedStyle.getPropertyCSSValue('margin').cssText", "'5px 6px 7px 8p
x'"); |
| 46 shouldBe("computedStyle.getPropertyCSSValue('margin').item(0).getFloatValue(CSSP
rimitiveValue.CSS_NUMBER)", "5"); | 46 shouldBe("computedStyle.getPropertyCSSValue('margin').item(0).getFloatValue(CSSP
rimitiveValue.CSS_NUMBER)", "5"); |
| 47 shouldBe("computedStyle.getPropertyCSSValue('margin').item(1).getFloatValue(CSSP
rimitiveValue.CSS_NUMBER)", "6"); | 47 shouldBe("computedStyle.getPropertyCSSValue('margin').item(1).getFloatValue(CSSP
rimitiveValue.CSS_NUMBER)", "6"); |
| 48 shouldBe("computedStyle.getPropertyCSSValue('margin').item(2).getFloatValue(CSSP
rimitiveValue.CSS_NUMBER)", "7"); | 48 shouldBe("computedStyle.getPropertyCSSValue('margin').item(2).getFloatValue(CSSP
rimitiveValue.CSS_NUMBER)", "7"); |
| 49 shouldBe("computedStyle.getPropertyCSSValue('margin').item(3).getFloatValue(CSSP
rimitiveValue.CSS_NUMBER)", "8"); | 49 shouldBe("computedStyle.getPropertyCSSValue('margin').item(3).getFloatValue(CSSP
rimitiveValue.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 |