haikuwebkit/LayoutTests/svg/dynamic-updates/SVGFEConvolveMatrixElement-...

16 lines
439 B
Plaintext
Raw Permalink Normal View History

WebCore: SVGFEConvolveMatrixElement doesn't support dynamic invalidation https://bugs.webkit.org/show_bug.cgi?id=47660 Patch by Renata Hodovan <reni@webkit.org> on 2010-11-08 Reviewed by Nikolas Zimmermann. Wrap orderX and orderY into the common order property according to the w3 standard and remove them from svnattrs.in. The patch implements the orderXIdentifier and orderYIdentifier getter functions to reach properly the orderX and orderY components of order property from SVG DOM. Tests: svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-bias-prop.html svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-divisor-prop.html svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-edgeMode-prop.html svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-in-prop.html svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelMatrix-prop.html svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelUnitLength-prop.html svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-order-prop.html svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop.html svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetX-prop.html svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetY-prop.html * svg/SVGFEConvolveMatrixElement.cpp: (WebCore::SVGFEConvolveMatrixElement::orderXIdentifier): (WebCore::SVGFEConvolveMatrixElement::orderYIdentifier): * svg/SVGFEConvolveMatrixElement.h: * svg/svgattrs.in: LayoutTests: SVGFEConvolveMatrixElement doesn't support dynamic invalidation, when attributes change. https://bugs.webkit.org/show_bug.cgi?id=47660 Patch by Renata Hodovan <reni@webkit.org> on 2010-11-08 Reviewed by Nikolas Zimmermann. This patch contains the SVG DOM dynamic update tests of feConvolveMatrix and it fixes the DOM test of order attribute because the product of order components should be equal the size of the kernelMatrix. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-bias-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-bias-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-divisor-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-divisor-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-edgeMode-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-edgeMode-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-in-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-in-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelMatrix-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelMatrix-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelUnitLength-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelUnitLength-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-order-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-order-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetX-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetX-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetY-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetY-prop-expected.png: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-bias-prop-expected.txt: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-bias-prop.html: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-divisor-prop-expected.txt: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-divisor-prop.html: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-edgeMode-prop-expected.txt: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-edgeMode-prop.html: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-in-prop-expected.txt: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-in-prop.html: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelMatrix-prop-expected.txt: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelMatrix-prop.html: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelUnitLength-prop-expected.txt: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelUnitLength-prop.html: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-order-prop-expected.txt: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-order-prop.html: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop-expected.txt: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop.html: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetX-prop-expected.txt: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetX-prop.html: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetY-prop-expected.txt: Added. * svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetY-prop.html: Added. * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-dom-order-attr.js: (executeTest): * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-svgdom-bias-prop.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-svgdom-divisor-prop.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-svgdom-edgeMode-prop.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-svgdom-in-prop.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-svgdom-kernelMatrix-prop.js: Added. (SVGNumberListToString): (executeTest): * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-svgdom-kernelUnitLength-prop.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-svgdom-order-prop.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-svgdom-targetX-prop.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEConvolveMatrixElement-svgdom-targetY-prop.js: Added. (executeTest): Canonical link: https://commits.webkit.org/61995@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@71508 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-11-08 10:43:35 +00:00
SVG 1.1 dynamic update tests
Tests dynamic updates of the 'order' property of the SVGFEConvolveMatrixElement object
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS convolveMatrixElement.orderX.baseVal is 2
PASS convolveMatrixElement.orderY.baseVal is 2
PASS convolveMatrixElement.orderX.baseVal is 3
PASS convolveMatrixElement.orderY.baseVal is 3
PASS successfullyParsed is true
TEST COMPLETE