haikuwebkit/LayoutTests/svg/dynamic-updates/SVGFEFloodElement-dom-flood...

14 lines
387 B
Plaintext
Raw Permalink Normal View History

2010-10-04 Renata Hodovan <reni@inf.u-szeged.hu> Reviewed by Dirk Schulze. SVGFEFloodElement doesn't support dynamic invalidation, when attributes change. https://bugs.webkit.org/show_bug.cgi?id=47077 Adding layout tests for feFlood dynamic changes. Since the attributes are CSS attributes, their changes are captured by the CSS support sub-system, and invalidated when needed. Thus, no need to add a new handler for SVGFEFloodElement. * platform/mac/svg/dynamic-updates/SVGFEFloodElement-dom-flood-color-attr-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEFloodElement-dom-flood-color-attr-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEFloodElement-dom-flood-opacity-attr-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEFloodElement-dom-flood-opacity-attr-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEFloodElement-svgdom-flood-color-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEFloodElement-svgdom-flood-color-prop-expected.png: Added. * platform/mac/svg/dynamic-updates/SVGFEFloodElement-svgdom-flood-opacity-prop-expected.checksum: Added. * platform/mac/svg/dynamic-updates/SVGFEFloodElement-svgdom-flood-opacity-prop-expected.png: Added. * svg/dynamic-updates/SVGFEFloodElement-dom-flood-color-attr-expected.txt: Added. * svg/dynamic-updates/SVGFEFloodElement-dom-flood-color-attr.html: Added. * svg/dynamic-updates/SVGFEFloodElement-dom-flood-opacity-attr-expected.txt: Added. * svg/dynamic-updates/SVGFEFloodElement-dom-flood-opacity-attr.html: Added. * svg/dynamic-updates/SVGFEFloodElement-svgdom-flood-color-prop-expected.txt: Added. * svg/dynamic-updates/SVGFEFloodElement-svgdom-flood-color-prop.html: Added. * svg/dynamic-updates/SVGFEFloodElement-svgdom-flood-opacity-prop-expected.txt: Added. * svg/dynamic-updates/SVGFEFloodElement-svgdom-flood-opacity-prop.html: Added. * svg/dynamic-updates/script-tests/SVGFEFloodElement-dom-flood-color-attr.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEFloodElement-dom-flood-opacity-attr.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEFloodElement-svgdom-flood-color-prop.js: Added. (executeTest): * svg/dynamic-updates/script-tests/SVGFEFloodElement-svgdom-flood-opacity-prop.js: Added. (executeTest): Canonical link: https://commits.webkit.org/59683@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-05 05:31:02 +00:00
SVG 1.1 dynamic update tests
Tests dynamic updates of the 'flood-color' attribute of the SVGFEFloodElement object
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS floodElement.getAttribute('flood-color') is "rgb(145, 32, 103)"
PASS floodElement.getAttribute('flood-color') is "rgb(64, 128, 103)"
PASS successfullyParsed is true
TEST COMPLETE