haikuwebkit/LayoutTests/svg/dynamic-updates/SVGFEMorphologyElement-dom-...

15 lines
387 B
Plaintext
Raw Permalink Normal View History

2010-09-23 Renata Hodovan <reni@inf.u-szeged.hu> Reviewed by Dirk Schulze. SVGFEMorphologyElement doesn't support dynamic invalidation, when attributes change. https://bugs.webkit.org/show_bug.cgi?id=46363 Adding layout tests for feMorphology dynamic changes. * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call-expected.png: Added. * svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.txt: Added. * svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr.html: Added. * svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr-expected.txt: Added. * svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr.html: Added. * svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr-expected.txt: Added. * svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr.html: Added. * svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.txt: Added. * svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop.html: Added. * svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop-expected.txt: Added. * svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop.html: Added. * svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call-expected.txt: Added. * svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call.html: Added. * svg/dynamic-updates/script-tests/SVGFEMorphologyElement-dom-in-attr.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEMorphologyElement-dom-operator-attr.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEMorphologyElement-dom-radius-attr.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEMorphologyElement-svgdom-in-prop.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEMorphologyElement-svgdom-operator-prop.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEMorphologyElement-svgdom-radius-call.js: Added. (executeTest): 2010-09-23 Renata Hodovan <reni@inf.u-szeged.hu> Reviewed by Dirk Schulze. SVGFEMorphologyElement doesn't support dynamic invalidation, when attributes change. https://bugs.webkit.org/show_bug.cgi?id=46363 The patch also implements the simple setRadius method. Tests: svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr.html svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr.html svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr.html svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop.html svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop.html svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call.html * svg/SVGFEMorphologyElement.cpp: (WebCore::SVGFEMorphologyElement::setRadius): (WebCore::SVGFEMorphologyElement::svgAttributeChanged): * svg/SVGFEMorphologyElement.h: Canonical link: https://commits.webkit.org/58867@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-09-23 18:17:56 +00:00
SVG 1.1 dynamic update tests
Erode radius = 4
Tests dynamic updates of the 'operator' attribute of the SVGFEMorphologyElement object
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS morphologyElement.getAttribute('operator') is "dilate"
PASS morphologyElement.getAttribute('operator') is "erode"
PASS successfullyParsed is true
TEST COMPLETE