Index: LayoutTests/svg/dom/script-tests/SVGLength.js |
diff --git a/LayoutTests/svg/dom/script-tests/SVGLength.js b/LayoutTests/svg/dom/script-tests/SVGLength.js |
index f979668593460938a9e204ed3ef0d50ef8f25adb..ba7663d12828bd6f62ef890bf10582828766aeb6 100644 |
--- a/LayoutTests/svg/dom/script-tests/SVGLength.js |
+++ b/LayoutTests/svg/dom/script-tests/SVGLength.js |
@@ -83,6 +83,12 @@ shouldBe("length.value", "2"); |
shouldBe("length.valueInSpecifiedUnits", "2"); |
shouldBe("length.unitType", "SVGLength.SVG_LENGTHTYPE_PX"); |
+shouldThrow("length.valueAsString = null"); |
+shouldBeEqualToString("length.valueAsString", "2px"); |
+shouldBe("length.value", "2"); |
+shouldBe("length.valueInSpecifiedUnits", "2"); |
+shouldBe("length.unitType", "SVGLength.SVG_LENGTHTYPE_PX"); |
+ |
debug(""); |
debug("Check setting invalid 'value' arguments"); |
shouldThrow("length.value = NaN"); |