diff --git a/content/svg/content/src/SVGTagList.h b/content/svg/content/src/SVGTagList.h index c0014ba54d2..984f74b196d 100644 --- a/content/svg/content/src/SVGTagList.h +++ b/content/svg/content/src/SVGTagList.h @@ -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) diff --git a/content/svg/content/src/moz.build b/content/svg/content/src/moz.build index e47fbe92ee8..27109faf3aa 100644 --- a/content/svg/content/src/moz.build +++ b/content/svg/content/src/moz.build @@ -169,6 +169,7 @@ UNIFIED_SOURCES += [ 'SVGFEDiffuseLightingElement.cpp', 'SVGFEDisplacementMapElement.cpp', 'SVGFEDistantLightElement.cpp', + 'SVGFEDropShadowElement.cpp', 'SVGFEFloodElement.cpp', 'SVGFEGaussianBlurElement.cpp', 'SVGFEImageElement.cpp', diff --git a/content/svg/content/test/test_SVG_namespace_ids.html b/content/svg/content/test/test_SVG_namespace_ids.html index 4e3c4e47764..aa9b9f5532c 100644 --- a/content/svg/content/test/test_SVG_namespace_ids.html +++ b/content/svg/content/test/test_SVG_namespace_ids.html @@ -54,6 +54,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=589640 + diff --git a/dom/system/gonk/tests/marionette/ril_jshint/jshint.js b/dom/system/gonk/tests/marionette/ril_jshint/jshint.js index e9a8f177520..1acdb6c80cc 100644 --- a/dom/system/gonk/tests/marionette/ril_jshint/jshint.js +++ b/dom/system/gonk/tests/marionette/ril_jshint/jshint.js @@ -462,6 +462,7 @@ exports.browser = { SVGFEDiffuseLightingElement: false, SVGFEDisplacementMapElement: false, SVGFEDistantLightElement: false, + SVGFEDropShadowElement: false, SVGFEFloodElement : false, SVGFEFuncAElement : false, SVGFEFuncBElement : false, diff --git a/dom/webidl/moz.build b/dom/webidl/moz.build index edf2f489cc3..927e2f389dd 100644 --- a/dom/webidl/moz.build +++ b/dom/webidl/moz.build @@ -326,6 +326,7 @@ WEBIDL_FILES = [ 'SVGFEDiffuseLightingElement.webidl', 'SVGFEDisplacementMapElement.webidl', 'SVGFEDistantLightElement.webidl', + 'SVGFEDropShadowElement.webidl', 'SVGFEFloodElement.webidl', 'SVGFEFuncAElement.webidl', 'SVGFEFuncBElement.webidl', diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp index 678a0c99c2c..f7cebb3553b 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -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), diff --git a/layout/reftests/svg/filters/reftest.list b/layout/reftests/svg/filters/reftest.list index 5692993e5d9..913b585acfc 100644 --- a/layout/reftests/svg/filters/reftest.list +++ b/layout/reftests/svg/filters/reftest.list @@ -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