Bug 964200 (Part 3b activate) - Implement Filter Effects Module feDropShadow filter. r=mstange

This commit is contained in:
Robert Longson 2014-02-08 20:16:22 +00:00
parent 76312b6425
commit 2eba8eeb09
7 changed files with 9 additions and 0 deletions

View File

@ -45,6 +45,7 @@ SVG_TAG(feConvolveMatrix, FEConvolveMatrix)
SVG_TAG(feDiffuseLighting, FEDiffuseLighting)
SVG_TAG(feDisplacementMap, FEDisplacementMap)
SVG_TAG(feDistantLight, FEDistantLight)
SVG_TAG(feDropShadow, FEDropShadow)
SVG_TAG(feFlood, FEFlood)
SVG_TAG(feFuncA, FEFuncA)
SVG_TAG(feFuncB, FEFuncB)

View File

@ -169,6 +169,7 @@ UNIFIED_SOURCES += [
'SVGFEDiffuseLightingElement.cpp',
'SVGFEDisplacementMapElement.cpp',
'SVGFEDistantLightElement.cpp',
'SVGFEDropShadowElement.cpp',
'SVGFEFloodElement.cpp',
'SVGFEGaussianBlurElement.cpp',
'SVGFEImageElement.cpp',

View File

@ -54,6 +54,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=589640
<feDiffuseLighting id="feDiffuseLighting" />
<feDisplacementMap id="feDisplacementMap" />
<feDistantLight id="feDistantLight" />
<feDropShadow id="feDropShadow" />
<feFlood id="feFlood" />
<feFuncA id="feFuncA" />
<feFuncB id="feFuncB" />

View File

@ -462,6 +462,7 @@ exports.browser = {
SVGFEDiffuseLightingElement: false,
SVGFEDisplacementMapElement: false,
SVGFEDistantLightElement: false,
SVGFEDropShadowElement: false,
SVGFEFloodElement : false,
SVGFEFuncAElement : false,
SVGFEFuncBElement : false,

View File

@ -326,6 +326,7 @@ WEBIDL_FILES = [
'SVGFEDiffuseLightingElement.webidl',
'SVGFEDisplacementMapElement.webidl',
'SVGFEDistantLightElement.webidl',
'SVGFEDropShadowElement.webidl',
'SVGFEFloodElement.webidl',
'SVGFEFuncAElement.webidl',
'SVGFEFuncBElement.webidl',

View File

@ -4989,6 +4989,7 @@ nsCSSFrameConstructor::FindSVGData(Element* aElement,
SIMPLE_SVG_CREATE(feConvolveMatrix, NS_NewSVGFELeafFrame),
SIMPLE_SVG_CREATE(feDiffuseLighting, NS_NewSVGFEContainerFrame),
SIMPLE_SVG_CREATE(feDisplacementMap, NS_NewSVGFELeafFrame),
SIMPLE_SVG_CREATE(feDropShadow, NS_NewSVGFELeafFrame),
SIMPLE_SVG_CREATE(feFlood, NS_NewSVGFELeafFrame),
SIMPLE_SVG_CREATE(feGaussianBlur, NS_NewSVGFELeafFrame),
SIMPLE_SVG_CREATE(feImage, NS_NewSVGFEImageFrame),

View File

@ -86,6 +86,9 @@ fuzzy(2,500) == feDisplacementMap-colour-01.svg feDisplacementMap-colour-01-ref.
skip-if(B2G) == feDisplacementMap-scale-01.svg pass.svg
skip-if(B2G) fuzzy-if(cocoaWidget,4,184) == feDistantLight-filterRes-01.svg feDistantLight-filterRes-01-ref.svg
== feDropShadow-01.svg feDropShadow-01-ref.svg pass
== feGaussianBlur-alpha-01.svg feGaussianBlur-alpha-01-ref.svg
== feMorphology-radius-negative-01.svg pass.svg