Index: Source/core/svg/SVGViewSpec.cpp |
diff --git a/Source/core/svg/SVGViewSpec.cpp b/Source/core/svg/SVGViewSpec.cpp |
index 0b156b7aef00d57cced433a7c1913d9a26b102fa..e0ff1a78fed0f707698dc3b8237738654e1ebaf9 100644 |
--- a/Source/core/svg/SVGViewSpec.cpp |
+++ b/Source/core/svg/SVGViewSpec.cpp |
@@ -149,7 +149,7 @@ bool SVGViewSpec::parseViewSpecInternal(const CharType* ptr, const CharType* end |
float y = 0.0f; |
float width = 0.0f; |
float height = 0.0f; |
- if (!(parseNumber(ptr, end, x) && parseNumber(ptr, end, y) && parseNumber(ptr, end, width) && parseNumber(ptr, end, height, false))) |
+ if (!(parseNumber(ptr, end, x) && parseNumber(ptr, end, y) && parseNumber(ptr, end, width) && parseNumber(ptr, end, height, STRICT))) |
return false; |
updateViewBox(FloatRect(x, y, width, height)); |
if (ptr >= end || *ptr != ')') |