Index: third_party/WebKit/Source/core/svg/SVGFilterElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGFilterElement.cpp b/third_party/WebKit/Source/core/svg/SVGFilterElement.cpp |
index ba633591ac869e26aa38615d5fe699bdcddf1c92..a3778e84a47fa8ceb38faba626a5d262e0e46a12 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGFilterElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGFilterElement.cpp |
@@ -55,10 +55,12 @@ inline SVGFilterElement::SVGFilterElement(Document& document) |
this, |
SVGNames::primitiveUnitsAttr, |
SVGUnitTypes::kSvgUnitTypeUserspaceonuse)) { |
- // Spec: If the x/y attribute is not specified, the effect is as if a value of "-10%" were specified. |
- // Spec: If the width/height attribute is not specified, the effect is as if a value of "120%" were specified. |
+ // Spec: If the x/y attribute is not specified, the effect is as if a value of |
+ // "-10%" were specified. |
m_x->setDefaultValueAsString("-10%"); |
m_y->setDefaultValueAsString("-10%"); |
+ // Spec: If the width/height attribute is not specified, the effect is as if a |
+ // value of "120%" were specified. |
m_width->setDefaultValueAsString("120%"); |
m_height->setDefaultValueAsString("120%"); |