| Index: Source/core/svg/SVGFitToViewBox.h
|
| diff --git a/Source/core/svg/SVGFitToViewBox.h b/Source/core/svg/SVGFitToViewBox.h
|
| index 036b05b4b7e7d83264158c7c11e9a2e4278c5e1d..17d8e55fe4d057c66a21550203112327b2090ea5 100644
|
| --- a/Source/core/svg/SVGFitToViewBox.h
|
| +++ b/Source/core/svg/SVGFitToViewBox.h
|
| @@ -54,14 +54,6 @@ public:
|
| {
|
| if (name == SVGNames::viewBoxAttr) {
|
| m_viewBox->setBaseValueAsString(value, parseError);
|
| - if (m_viewBox->baseValue()->width() < 0.0f) {
|
| - document.accessSVGExtensions().reportError("A negative value for ViewBox width is not allowed");
|
| - m_viewBox->baseValue()->setInvalid();
|
| - }
|
| - if (m_viewBox->baseValue()->height() < 0.0f) {
|
| - document.accessSVGExtensions().reportError("A negative value for ViewBox height is not allowed");
|
| - m_viewBox->baseValue()->setInvalid();
|
| - }
|
| return true;
|
| }
|
| if (name == SVGNames::preserveAspectRatioAttr) {
|
|
|