diff options
Diffstat (limited to 'WebCore/svg/SVGFETurbulenceElement.cpp')
-rw-r--r-- | WebCore/svg/SVGFETurbulenceElement.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/WebCore/svg/SVGFETurbulenceElement.cpp b/WebCore/svg/SVGFETurbulenceElement.cpp index 5c1d32f..5339e02 100644 --- a/WebCore/svg/SVGFETurbulenceElement.cpp +++ b/WebCore/svg/SVGFETurbulenceElement.cpp @@ -55,7 +55,7 @@ void SVGFETurbulenceElement::parseMappedAttribute(Attribute* attr) } else if (attr->name() == SVGNames::stitchTilesAttr) { if (value == "stitch") setStitchTilesBaseValue(SVG_STITCHTYPE_STITCH); - else if (value == "nostitch") + else if (value == "noStitch") setStitchTilesBaseValue(SVG_STITCHTYPE_NOSTITCH); } else if (attr->name() == SVGNames::baseFrequencyAttr) { float x, y; @@ -71,6 +71,18 @@ void SVGFETurbulenceElement::parseMappedAttribute(Attribute* attr) SVGFilterPrimitiveStandardAttributes::parseMappedAttribute(attr); } +void SVGFETurbulenceElement::svgAttributeChanged(const QualifiedName& attrName) +{ + SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName); + + if (attrName == SVGNames::baseFrequencyAttr + || attrName == SVGNames::numOctavesAttr + || attrName == SVGNames::seedAttr + || attrName == SVGNames::stitchTilesAttr + || attrName == SVGNames::typeAttr) + invalidate(); +} + void SVGFETurbulenceElement::synchronizeProperty(const QualifiedName& attrName) { SVGFilterPrimitiveStandardAttributes::synchronizeProperty(attrName); |