test.style.borderWidth = "120em 110em 100em 90.1em";
var computedStyle = window.getComputedStyle(test, null);
shouldBe("computedStyle.getPropertyValue('border-width')", "'12000px 11000px 10000px 9010px'");
- shouldBe("computedStyle.getPropertyCSSValue('border-top-width').cssText","'12000px'");
- shouldBe("computedStyle.getPropertyCSSValue('border-right-width').cssText","'11000px'");
- shouldBe("computedStyle.getPropertyCSSValue('border-bottom-width').cssText","'10000px'");
- shouldBe("computedStyle.getPropertyCSSValue('border-left-width').cssText","'9010px'");
+ shouldBe("computedStyle.borderTopWidth","'12000px'");
+ shouldBe("computedStyle.borderRightWidth","'11000px'");
+ shouldBe("computedStyle.borderBottomWidth","'10000px'");
+ shouldBe("computedStyle.borderLeftWidth","'9010px'");
// clean up after ourselves
var tests_container = document.getElementById("tests_container");
tests_container.parentNode.removeChild(tests_container);