Index: third_party/WebKit/LayoutTests/svg/custom/disallow-non-lengths-in-attrs.html |
diff --git a/third_party/WebKit/LayoutTests/svg/custom/disallow-non-lengths-in-attrs.html b/third_party/WebKit/LayoutTests/svg/custom/disallow-non-lengths-in-attrs.html |
index 6342b5ccf1b52b481c9763cb081aeb6049342cd6..0615823df26c6da7979dbc3ec6e1b9d371d7877e 100644 |
--- a/third_party/WebKit/LayoutTests/svg/custom/disallow-non-lengths-in-attrs.html |
+++ b/third_party/WebKit/LayoutTests/svg/custom/disallow-non-lengths-in-attrs.html |
@@ -28,7 +28,7 @@ |
invalid_widths.forEach(function(invalid_width) { |
setWidth('#svg', invalid_width); |
test(function() { |
- assert_equals(getWidth('#svg'), 0); |
+ assert_equals(getWidth('#svg'), document.body.clientWidth); |
}, "Test width '" + invalid_width + "' on SVGSVGElement"); |
setWidth('#fO', invalid_width); |