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="../../../resources/js-test.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.") |
11 | 11 |
12 var testContainer = document.createElement("div"); | 12 var testContainer = document.createElement("div"); |
13 testContainer.contentEditable = true; | 13 testContainer.contentEditable = true; |
14 document.body.appendChild(testContainer); | 14 document.body.appendChild(testContainer); |
15 | 15 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 </body> | 70 </body> |
71 </html> | 71 </html> |
OLD | NEW |