Index: third_party/WebKit/LayoutTests/fast/js/script-tests/custom-constructors.js |
diff --git a/third_party/WebKit/LayoutTests/fast/js/script-tests/custom-constructors.js b/third_party/WebKit/LayoutTests/fast/js/script-tests/custom-constructors.js |
index e7c749ef3f1fe6ddf33a5c41d88fcc84a3426614..e27deb2cd88eff01d4411326eb06cceeb1a8b51f 100644 |
--- a/third_party/WebKit/LayoutTests/fast/js/script-tests/custom-constructors.js |
+++ b/third_party/WebKit/LayoutTests/fast/js/script-tests/custom-constructors.js |
@@ -12,8 +12,8 @@ shouldBe("new Image(0).width", "0"); |
shouldBe("new Image(0, 0).height", "0"); |
shouldBe("new Image(100).width", "100"); |
shouldBe("new Image(100, 200).height", "200"); |
-shouldBe("new Image(-100).width", "-100"); |
-shouldBe("new Image(-100, -200).height", "-200"); |
+shouldBe("new Image(-100).width", "0"); |
+shouldBe("new Image(-100, -200).height", "0"); |
shouldBe("new Image().hasAttribute('height')", "false"); |
shouldBe("new Image().hasAttribute('width')", "false"); |