LayoutTests/imported/w3c:
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Sep 2018 00:40:09 +0000 (00:40 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Sep 2018 00:40:09 +0000 (00:40 +0000)
commit84804dd1e91d68598dacf1e257c4bd8878959743
treebdfcc33bac8331fcb74e4be775db0182fd14cdbe
parent489f86bb97f1ab91fb735b3dd830d72ef747be2e
LayoutTests/imported/w3c:
Remove filterRes parameter from SVG filters
https://bugs.webkit.org/show_bug.cgi?id=129565
<rdar://problem/44714340>

Reviewed by Dean Jackson.

Remove support for the "filterRes" attribute on SVG filters. It's marked as
deprecated in https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-filterres
and no longer supported by Chrome or Firefox.

* web-platform-tests/html/syntax/parsing/html5lib_tests11-expected.txt: Rebaseline

Source/WebCore:
Remove filterRes parameter from SVG filters
https://bugs.webkit.org/show_bug.cgi?id=129565
<rdar://problem/44714340>

Reviewed by Dean Jackson.

Remove support for the "filterRes" attribute on SVG filters. It's marked as
deprecated in https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-filterres
and no longer supported by Chrome or Firefox.

Removed existing filterRes tests, added new test checking that it has no effect.

Tests: svg/filters/filterRes-is-noop.svg

* rendering/svg/RenderSVGResourceFilter.cpp:
(WebCore::RenderSVGResourceFilter::applyResource):
* svg/SVGElement.cpp:
(WebCore::SVGElement::animatableAttributeForName):
* svg/SVGFilterElement.cpp:
(WebCore::SVGFilterElement::registerAttributes):
(WebCore::SVGFilterElement::parseAttribute):
(WebCore::SVGFilterElement::filterResXIdentifier): Deleted.
(WebCore::SVGFilterElement::filterResYIdentifier): Deleted.
(WebCore::SVGFilterElement::setFilterRes): Deleted.
* svg/SVGFilterElement.h:
* svg/SVGFilterElement.idl:
* svg/svgattrs.in:

LayoutTests:
Remove filterRes parameter from filters
https://bugs.webkit.org/show_bug.cgi?id=129565
<rdar://problem/44714340>

Reviewed by Dean Jackson.

Remove support for the "filterRes" attribute on SVG filters. It's marked as
deprecated in https://drafts.fxtf.org/filter-effects/#element-attrdef-filter-filterres
and no longer supported by Chrome or Firefox.

Removed existing filterRes tests, added new test checking that it has no effect.

* html5lib/resources/tests11.dat: Edited to remove filterRes. This seems to have been superseded by
    imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests11.html
* platform/gtk/svg/dynamic-updates/SVGFilterElement-dom-filterRes-attr-expected.png: Removed.
* platform/gtk/svg/dynamic-updates/SVGFilterElement-svgdom-filterRes-call-expected.png: Removed.
* platform/gtk/svg/dynamic-updates/SVGFilterElement-svgdom-filterResX-prop-expected.png: Removed.
* platform/gtk/svg/dynamic-updates/SVGFilterElement-svgdom-filterResY-prop-expected.png: Removed.
* platform/gtk/svg/filters/filterRes-expected.png: Removed.
* platform/gtk/svg/filters/filterRes1-expected.png: Removed.
* platform/gtk/svg/filters/filterRes3-expected.png: Removed.
* platform/mac/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt: Removed.
* platform/mac/svg/dynamic-updates/SVGFilterElement-dom-filterRes-attr-expected.png: Removed.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-filterRes-call-expected.png: Removed.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-filterResX-prop-expected.png: Removed.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-filterResY-prop-expected.png: Removed.
* platform/mac/svg/filters/filterRes-expected.png: Removed.
* platform/mac/svg/filters/filterRes1-expected.png: Removed.
* platform/mac/svg/filters/filterRes2-expected.png: Removed.
* platform/mac/svg/filters/filterRes3-expected.png: Removed.
* svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt:
* svg/W3C-SVG-1.1-SE/svgdom-over-01-f.svg:
* svg/dom/SVGAnimatedInteger-expected.txt:
* svg/dom/SVGAnimatedInteger.html: Change to use feConvolveMatrix orderX.
* svg/dynamic-updates/SVGFilterElement-svgdom-filterRes-call-expected.txt: Removed.
* svg/dynamic-updates/SVGFilterElement-svgdom-filterRes-call.html: Removed.
* svg/dynamic-updates/SVGFilterElement-svgdom-filterResX-prop-expected.txt: Removed.
* svg/dynamic-updates/SVGFilterElement-svgdom-filterResX-prop.html: Removed.
* svg/dynamic-updates/SVGFilterElement-svgdom-filterResY-prop-expected.txt: Removed.
* svg/dynamic-updates/SVGFilterElement-svgdom-filterResY-prop.html: Removed.
* svg/filters/filterRes-is-noop-expected.svg: Added.
* svg/filters/filterRes-is-noop.svg: Added.
* svg/filters/filterRes.svg: Removed.
* svg/filters/filterRes1-expected.txt: Removed.
* svg/filters/filterRes1.svg: Removed.
* svg/filters/filterRes2-expected.png: Removed.
* svg/filters/filterRes2-expected.txt: Removed.
* svg/filters/filterRes2.svg: Removed.
* svg/filters/filterRes3-expected.txt: Removed.
* svg/filters/filterRes3.svg: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236447 268f45cc-cd09-0410-ab3c-d52691b4dbfc
49 files changed:
LayoutTests/ChangeLog
LayoutTests/html5lib/resources/tests11.dat
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests11-expected.txt
LayoutTests/platform/gtk/svg/dynamic-updates/SVGFilterElement-dom-filterRes-attr-expected.png [deleted file]
LayoutTests/platform/gtk/svg/dynamic-updates/SVGFilterElement-svgdom-filterRes-call-expected.png [deleted file]
LayoutTests/platform/gtk/svg/dynamic-updates/SVGFilterElement-svgdom-filterResX-prop-expected.png [deleted file]
LayoutTests/platform/gtk/svg/dynamic-updates/SVGFilterElement-svgdom-filterResY-prop-expected.png [deleted file]
LayoutTests/platform/gtk/svg/filters/filterRes-expected.png [deleted file]
LayoutTests/platform/gtk/svg/filters/filterRes1-expected.png [deleted file]
LayoutTests/platform/gtk/svg/filters/filterRes3-expected.png [deleted file]
LayoutTests/platform/ios/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt [deleted file]
LayoutTests/platform/mac/svg/dynamic-updates/SVGFilterElement-dom-filterRes-attr-expected.png [deleted file]
LayoutTests/platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-filterRes-call-expected.png [deleted file]
LayoutTests/platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-filterResX-prop-expected.png [deleted file]
LayoutTests/platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-filterResY-prop-expected.png [deleted file]
LayoutTests/platform/mac/svg/filters/filterRes-expected.png [deleted file]
LayoutTests/platform/mac/svg/filters/filterRes1-expected.png [deleted file]
LayoutTests/platform/mac/svg/filters/filterRes2-expected.png [deleted file]
LayoutTests/platform/mac/svg/filters/filterRes3-expected.png [deleted file]
LayoutTests/platform/win/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1-SE/svgdom-over-01-f.svg
LayoutTests/svg/dom/SVGAnimatedInteger-expected.txt
LayoutTests/svg/dom/SVGAnimatedInteger.html
LayoutTests/svg/dynamic-updates/SVGFilterElement-svgdom-filterRes-call-expected.txt [deleted file]
LayoutTests/svg/dynamic-updates/SVGFilterElement-svgdom-filterRes-call.html [deleted file]
LayoutTests/svg/dynamic-updates/SVGFilterElement-svgdom-filterResX-prop-expected.txt [deleted file]
LayoutTests/svg/dynamic-updates/SVGFilterElement-svgdom-filterResX-prop.html [deleted file]
LayoutTests/svg/dynamic-updates/SVGFilterElement-svgdom-filterResY-prop-expected.txt [deleted file]
LayoutTests/svg/dynamic-updates/SVGFilterElement-svgdom-filterResY-prop.html [deleted file]
LayoutTests/svg/filters/filterRes-is-noop-expected.svg [new file with mode: 0644]
LayoutTests/svg/filters/filterRes-is-noop.svg [new file with mode: 0644]
LayoutTests/svg/filters/filterRes.svg [deleted file]
LayoutTests/svg/filters/filterRes1-expected.txt [deleted file]
LayoutTests/svg/filters/filterRes1.svg [deleted file]
LayoutTests/svg/filters/filterRes2-expected.png [deleted file]
LayoutTests/svg/filters/filterRes2-expected.txt [deleted file]
LayoutTests/svg/filters/filterRes2.svg [deleted file]
LayoutTests/svg/filters/filterRes3-expected.txt [deleted file]
LayoutTests/svg/filters/filterRes3.svg [deleted file]
Source/WebCore/ChangeLog
Source/WebCore/rendering/svg/RenderSVGResourceFilter.cpp
Source/WebCore/svg/SVGElement.cpp
Source/WebCore/svg/SVGFilterElement.cpp
Source/WebCore/svg/SVGFilterElement.h
Source/WebCore/svg/SVGFilterElement.idl
Source/WebCore/svg/svgattrs.in