SVGFilterElement & SVGFE*Element don't support dynamic invalidation, when attributes change
https://bugs.webkit.org/show_bug.cgi?id=42244

Reviewed by Nikolas Zimmermann.

WebCore: 

Implementing svgAttributeChanged for SVGFESpotLightElement object.
Furthermore, invalidateFilter has been moved to SVGFilterElement, and
it is a static function now.

Tests: svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr.html
       svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr.html
       svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr.html
       svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr.html
       svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr.html
       svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr.html
       svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr.html
       svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr.html
       svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop.html
       svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop.html
       svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop.html
       svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop.html
       svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop.html
       svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop.html
       svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop.html
       svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop.html

* svg/SVGFEDiffuseLightingElement.cpp:
(WebCore::SVGFEDiffuseLightingElement::svgAttributeChanged):
* svg/SVGFELightElement.cpp:
(WebCore::SVGFELightElement::svgAttributeChanged):
(WebCore::SVGFELightElement::childrenChanged):
* svg/SVGFELightElement.h:
* svg/SVGFEOffsetElement.cpp:
(WebCore::SVGFEOffsetElement::svgAttributeChanged):
* svg/SVGFESpecularLightingElement.cpp:
* svg/SVGFilterElement.h:
(WebCore::SVGFilterElement::invalidateFilter):
* svg/SVGFilterPrimitiveStandardAttributes.cpp:
(WebCore::SVGFilterPrimitiveStandardAttributes::svgAttributeChanged):
(WebCore::SVGFilterPrimitiveStandardAttributes::childrenChanged):
* svg/SVGFilterPrimitiveStandardAttributes.h:

LayoutTests: 

* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop-expected.png: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr.html: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr.html: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr.html: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr.html: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr.html: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr.html: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr.html: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr.html: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop.html: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop.html: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop.html: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop.html: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop.html: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop.html: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop.html: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop.html: Added.
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-limitingConeAngle-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-pointsAtX-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-pointsAtY-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-pointsAtZ-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-specularExponent-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-x-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-y-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-z-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-limitingConeAngle-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-pointsAtX-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-pointsAtY-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-pointsAtZ-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-specularExponent-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-x-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-y-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpotLightElement-svgdom-z-prop.js: Added.
(executeTest):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
90 files changed