haikuwebkit/LayoutTests/svg/dynamic-updates/SVGFETurbulenceElement-svgd...

16 lines
510 B
Plaintext
Raw Permalink Normal View History

2010-09-15 Renata Hodovan <reni@inf.u-szeged.hu> Reviewed by Dirk Schulze. SVGFETurbulenceElement doesn't support dynamic invalidation, when attributes change. https://bugs.webkit.org/show_bug.cgi?id=45809 Adding layout tests for feTurbulence dynamic changes. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-baseFrequency-attr-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-baseFrequency-attr-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-numOctaves-attr-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-numOctaves-attr-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-seed-attr-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-seed-attr-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-stitchTiles-attr-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-stitchTiles-attr-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-type-attr-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-type-attr-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-baseFrequency-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-baseFrequency-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-numOctaves-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-numOctaves-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-seed-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-seed-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-type-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-type-prop-expected.png: Added. * svg/dynamic-updates/SVGFETurbulenceElement-dom-baseFrequency-attr-expected.txt: Added. * svg/dynamic-updates/SVGFETurbulenceElement-dom-baseFrequency-attr.html: Added. * svg/dynamic-updates/SVGFETurbulenceElement-dom-numOctaves-attr-expected.txt: Added. * svg/dynamic-updates/SVGFETurbulenceElement-dom-numOctaves-attr.html: Added. * svg/dynamic-updates/SVGFETurbulenceElement-dom-seed-attr-expected.txt: Added. * svg/dynamic-updates/SVGFETurbulenceElement-dom-seed-attr.html: Added. * svg/dynamic-updates/SVGFETurbulenceElement-dom-stitchTiles-attr-expected.txt: Added. * svg/dynamic-updates/SVGFETurbulenceElement-dom-stitchTiles-attr.html: Added. * svg/dynamic-updates/SVGFETurbulenceElement-dom-type-attr-expected.txt: Added. * svg/dynamic-updates/SVGFETurbulenceElement-dom-type-attr.html: Added. * svg/dynamic-updates/SVGFETurbulenceElement-svgdom-baseFrequency-prop-expected.txt: Added. * svg/dynamic-updates/SVGFETurbulenceElement-svgdom-baseFrequency-prop.html: Added. * svg/dynamic-updates/SVGFETurbulenceElement-svgdom-numOctaves-prop-expected.txt: Added. * svg/dynamic-updates/SVGFETurbulenceElement-svgdom-numOctaves-prop.html: Added. * svg/dynamic-updates/SVGFETurbulenceElement-svgdom-seed-prop-expected.txt: Added. * svg/dynamic-updates/SVGFETurbulenceElement-svgdom-seed-prop.html: Added. * svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop-expected.txt: Added. * svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop.html: Added. * svg/dynamic-updates/SVGFETurbulenceElement-svgdom-type-prop-expected.txt: Added. * svg/dynamic-updates/SVGFETurbulenceElement-svgdom-type-prop.html: Added. * svg/dynamic-updates/script-tests/SVGFETurbulenceElement-dom-baseFrequency-attr.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFETurbulenceElement-dom-numOctaves-attr.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFETurbulenceElement-dom-seed-attr.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFETurbulenceElement-dom-stitchTiles-attr.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFETurbulenceElement-dom-type-attr.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFETurbulenceElement-svgdom-baseFrequency-prop.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFETurbulenceElement-svgdom-numOctaves-prop.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFETurbulenceElement-svgdom-seed-prop.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFETurbulenceElement-svgdom-stitchTiles-prop.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFETurbulenceElement-svgdom-type-prop.js: Added. (executeTest): 2010-09-15 Renata Hodovan <reni@inf.u-szeged.hu> Reviewed by Dirk Schulze. SVGFETurbulenceElement doesn't support dynamic invalidation, when attributes change. A typo (noStich instead of nostitch) is also fixed in this patch. https://bugs.webkit.org/show_bug.cgi?id=45809 Tests: svg/dynamic-updates/SVGFETurbulenceElement-dom-baseFrequency-attr.html svg/dynamic-updates/SVGFETurbulenceElement-dom-numOctaves-attr.html svg/dynamic-updates/SVGFETurbulenceElement-dom-seed-attr.html svg/dynamic-updates/SVGFETurbulenceElement-dom-stitchTiles-attr.html svg/dynamic-updates/SVGFETurbulenceElement-dom-type-attr.html svg/dynamic-updates/SVGFETurbulenceElement-svgdom-baseFrequency-prop.html svg/dynamic-updates/SVGFETurbulenceElement-svgdom-numOctaves-prop.html svg/dynamic-updates/SVGFETurbulenceElement-svgdom-seed-prop.html svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop.html svg/dynamic-updates/SVGFETurbulenceElement-svgdom-type-prop.html * svg/SVGFETurbulenceElement.cpp: (WebCore::SVGFETurbulenceElement::parseMappedAttribute): (WebCore::SVGFETurbulenceElement::svgAttributeChanged): * svg/SVGFETurbulenceElement.h: Canonical link: https://commits.webkit.org/58269@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-09-15 09:13:45 +00:00
SVG 1.1 dynamic update tests
Tests dynamic updates of the 'baseFrequency' property of the SVGFETurbulenceElment object
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS Math.round(turbulence.baseFrequencyX.baseVal * 1000) is 70
PASS Math.round(turbulence.baseFrequencyY.baseVal * 1000) is 70
PASS Math.round(turbulence.baseFrequencyX.baseVal * 1000) is 50
PASS Math.round(turbulence.baseFrequencyY.baseVal * 1000) is 50
PASS successfullyParsed is true
TEST COMPLETE