Add new SVGDOM SVGFEBLEND constants
authorkrit@webkit.org <krit@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 May 2018 13:49:06 +0000 (13:49 +0000)
committerkrit@webkit.org <krit@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 May 2018 13:49:06 +0000 (13:49 +0000)
commitd5dfb7792a89b7137c18bb73d27dd0e5d703aab8
treec2518eefdbb9851b6d46d0b3ad21e0bd54ae393a
parent9d96b951a91ab4384c168b77ee57bf727bb72487
Add new SVGDOM SVGFEBLEND constants
https://bugs.webkit.org/show_bug.cgi?id=185581

Reviewed by Simon Fraser.

Provide new SVG DOM constants for the new blend modes added to feBlend.

https://drafts.fxtf.org/filter-effects-1/#InterfaceSVGFEBlendElement

Source/WebCore:

* platform/graphics/GraphicsTypes.cpp:
(WebCore::blendModeName):
* platform/graphics/GraphicsTypes.h:
* svg/SVGFEBlendElement.h:
(WebCore::SVGPropertyTraits<BlendMode>::highestEnumValue):
(WebCore::SVGPropertyTraits<BlendMode>::toString):
* svg/SVGFEBlendElement.idl:

LayoutTests:

* svg/custom/js-svg-constructors-expected.txt:
* svg/custom/js-svg-constructors.svg:
* svg/dom/SVGAnimatedEnumeration-SVGFEBlendElement-expected.txt:
* svg/dom/SVGAnimatedEnumeration-SVGFEBlendElement.html:
* svg/dom/SVGAnimatedEnumeration-case-sensitive-expected.txt:
* svg/dom/SVGAnimatedEnumeration-case-sensitive.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@231799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
LayoutTests/ChangeLog
LayoutTests/svg/custom/js-svg-constructors-expected.txt
LayoutTests/svg/custom/js-svg-constructors.svg
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFEBlendElement-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFEBlendElement.html
LayoutTests/svg/dom/SVGAnimatedEnumeration-case-sensitive-expected.txt
LayoutTests/svg/dom/SVGAnimatedEnumeration-case-sensitive.html
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/GraphicsTypes.cpp
Source/WebCore/platform/graphics/GraphicsTypes.h
Source/WebCore/svg/SVGFEBlendElement.h
Source/WebCore/svg/SVGFEBlendElement.idl