| 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-width property returns CSSValueList proper
ly.") | 10 description("Test to make sure border-width property returns CSSValueList proper
ly.") |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 e.style.borderStyle="hidden"; | 60 e.style.borderStyle="hidden"; |
| 61 shouldBe("computedStyle.getPropertyValue('border-width')", "'0px'"); | 61 shouldBe("computedStyle.getPropertyValue('border-width')", "'0px'"); |
| 62 shouldBe("computedStyle.getPropertyCSSValue('border-width').toString()", "'[obje
ct CSSValueList]'"); | 62 shouldBe("computedStyle.getPropertyCSSValue('border-width').toString()", "'[obje
ct CSSValueList]'"); |
| 63 shouldBe("computedStyle.getPropertyCSSValue('border-width').cssText", "'0px'"); | 63 shouldBe("computedStyle.getPropertyCSSValue('border-width').cssText", "'0px'"); |
| 64 shouldBe("computedStyle.getPropertyCSSValue('border-width').length", "1"); | 64 shouldBe("computedStyle.getPropertyCSSValue('border-width').length", "1"); |
| 65 shouldBe("computedStyle.getPropertyCSSValue('border-width').item(0).getFloatValu
e(CSSPrimitiveValue.CSS_PX)", "0"); | 65 shouldBe("computedStyle.getPropertyCSSValue('border-width').item(0).getFloatValu
e(CSSPrimitiveValue.CSS_PX)", "0"); |
| 66 | 66 |
| 67 document.body.removeChild(testContainer); | 67 document.body.removeChild(testContainer); |
| 68 | 68 |
| 69 </script> | 69 </script> |
| 70 <script src="../../js/resources/js-test-post.js"></script> | |
| 71 </body> | 70 </body> |
| 72 </html> | 71 </html> |
| OLD | NEW |