Bug 964200 (Part 3b activate) - Implement Filter Effects Module feDropShadow filter. r=mstange
authorRobert Longson <longsonr@gmail.com>
Sat, 08 Feb 2014 20:16:22 +0000
changeset 167658 85b2df0dfa13
parent 167657 26d0e83eb70a
child 167659 2d3d6b83f46b
push id39522
push userlongsonr@gmail.com
push dateSat, 08 Feb 2014 20:17:19 +0000
treeherdermozilla-inbound@85b2df0dfa13 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs964200
milestone30.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 964200 (Part 3b activate) - Implement Filter Effects Module feDropShadow filter. r=mstange
content/svg/content/src/SVGTagList.h
content/svg/content/src/moz.build
content/svg/content/test/test_SVG_namespace_ids.html
dom/system/gonk/tests/marionette/ril_jshint/jshint.js
dom/webidl/moz.build
layout/base/nsCSSFrameConstructor.cpp
layout/reftests/svg/filters/reftest.list
--- a/content/svg/content/src/SVGTagList.h
+++ b/content/svg/content/src/SVGTagList.h
@@ -40,16 +40,17 @@ SVG_TAG(ellipse, Ellipse)
 SVG_TAG(feBlend, FEBlend)
 SVG_TAG(feColorMatrix, FEColorMatrix)
 SVG_TAG(feComponentTransfer, FEComponentTransfer)
 SVG_TAG(feComposite, FEComposite)
 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)
 SVG_TAG(feFuncG, FEFuncG)
 SVG_TAG(feFuncR, FEFuncR)
 SVG_TAG(feGaussianBlur, FEGaussianBlur)
 SVG_TAG(feImage, FEImage)
 SVG_TAG(feMerge, FEMerge)
--- a/content/svg/content/src/moz.build
+++ b/content/svg/content/src/moz.build
@@ -164,16 +164,17 @@ UNIFIED_SOURCES += [
     'SVGFEBlendElement.cpp',
     'SVGFEColorMatrixElement.cpp',
     'SVGFEComponentTransferElement.cpp',
     'SVGFECompositeElement.cpp',
     'SVGFEConvolveMatrixElement.cpp',
     'SVGFEDiffuseLightingElement.cpp',
     'SVGFEDisplacementMapElement.cpp',
     'SVGFEDistantLightElement.cpp',
+    'SVGFEDropShadowElement.cpp',
     'SVGFEFloodElement.cpp',
     'SVGFEGaussianBlurElement.cpp',
     'SVGFEImageElement.cpp',
     'SVGFEMergeElement.cpp',
     'SVGFEMergeNodeElement.cpp',
     'SVGFEMorphologyElement.cpp',
     'SVGFEOffsetElement.cpp',
     'SVGFEPointLightElement.cpp',
--- a/content/svg/content/test/test_SVG_namespace_ids.html
+++ b/content/svg/content/test/test_SVG_namespace_ids.html
@@ -49,16 +49,17 @@ https://bugzilla.mozilla.org/show_bug.cg
   <feBlend id="feBlend" />
   <feColorMatrix id="feColorMatrix" />
   <feComponentTransfer id="feComponentTransfer" />
   <feComposite id="feComposite" />
   <feConvolveMatrix id="feConvolveMatrix" />
   <feDiffuseLighting id="feDiffuseLighting" />
   <feDisplacementMap id="feDisplacementMap" />
   <feDistantLight id="feDistantLight" />
+  <feDropShadow id="feDropShadow" />
   <feFlood id="feFlood" />
   <feFuncA id="feFuncA" />
   <feFuncB id="feFuncB" />
   <feFuncG id="feFuncG" />
   <feFuncR id="feFuncR" />
   <feGaussianBlur id="feGaussianBlur" />
   <feImage id="feImage" />
   <feMerge id="feMerge" />
--- a/dom/system/gonk/tests/marionette/ril_jshint/jshint.js
+++ b/dom/system/gonk/tests/marionette/ril_jshint/jshint.js
@@ -457,16 +457,17 @@ exports.browser = {
 	SVGFEBlendElement    : false,
 	SVGFEColorMatrixElement: false,
 	SVGFEComponentTransferElement: false,
 	SVGFECompositeElement: false,
 	SVGFEConvolveMatrixElement: false,
 	SVGFEDiffuseLightingElement: false,
 	SVGFEDisplacementMapElement: false,
 	SVGFEDistantLightElement: false,
+	SVGFEDropShadowElement: false,
 	SVGFEFloodElement    : false,
 	SVGFEFuncAElement    : false,
 	SVGFEFuncBElement    : false,
 	SVGFEFuncGElement    : false,
 	SVGFEFuncRElement    : false,
 	SVGFEGaussianBlurElement: false,
 	SVGFEImageElement    : false,
 	SVGFEMergeElement    : false,
--- a/dom/webidl/moz.build
+++ b/dom/webidl/moz.build
@@ -321,16 +321,17 @@ WEBIDL_FILES = [
     'SVGFEBlendElement.webidl',
     'SVGFEColorMatrixElement.webidl',
     'SVGFEComponentTransferElement.webidl',
     'SVGFECompositeElement.webidl',
     'SVGFEConvolveMatrixElement.webidl',
     'SVGFEDiffuseLightingElement.webidl',
     'SVGFEDisplacementMapElement.webidl',
     'SVGFEDistantLightElement.webidl',
+    'SVGFEDropShadowElement.webidl',
     'SVGFEFloodElement.webidl',
     'SVGFEFuncAElement.webidl',
     'SVGFEFuncBElement.webidl',
     'SVGFEFuncGElement.webidl',
     'SVGFEFuncRElement.webidl',
     'SVGFEGaussianBlurElement.webidl',
     'SVGFEImageElement.webidl',
     'SVGFEMergeElement.webidl',
--- a/layout/base/nsCSSFrameConstructor.cpp
+++ b/layout/base/nsCSSFrameConstructor.cpp
@@ -4984,16 +4984,17 @@ nsCSSFrameConstructor::FindSVGData(Eleme
     SIMPLE_SVG_CREATE(feFuncG, NS_NewSVGFEUnstyledLeafFrame),
     SIMPLE_SVG_CREATE(feFuncB, NS_NewSVGFEUnstyledLeafFrame),
     SIMPLE_SVG_CREATE(feFuncA, NS_NewSVGFEUnstyledLeafFrame),
     SIMPLE_SVG_CREATE(feComposite, NS_NewSVGFELeafFrame),
     SIMPLE_SVG_CREATE(feComponentTransfer, NS_NewSVGFEContainerFrame),
     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),
     SIMPLE_SVG_CREATE(feMerge, NS_NewSVGFEContainerFrame),
     SIMPLE_SVG_CREATE(feMergeNode, NS_NewSVGFEUnstyledLeafFrame),
     SIMPLE_SVG_CREATE(feMorphology, NS_NewSVGFELeafFrame), 
     SIMPLE_SVG_CREATE(feOffset, NS_NewSVGFELeafFrame), 
     SIMPLE_SVG_CREATE(feSpecularLighting, NS_NewSVGFEContainerFrame),
--- a/layout/reftests/svg/filters/reftest.list
+++ b/layout/reftests/svg/filters/reftest.list
@@ -81,16 +81,19 @@ skip-if(B2G) fuzzy(1,26732) == feComposi
 fuzzy(1,10000) == feConvolveMatrix-bias-01.svg feConvolveMatrix-bias-01-ref.svg
 == feConvolveMatrix-order-01.svg feConvolveMatrix-order-01-ref.svg
 
 == feDisplacementMap-alpha-01.svg pass.svg
 fuzzy(2,500) == feDisplacementMap-colour-01.svg feDisplacementMap-colour-01-ref.svg
 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
 == feMorphology-radius-negative-02.svg pass.svg
 == feMorphology-radius-zero-01.svg pass.svg
 == feMorphology-radius-zero-02.svg pass.svg
 
 == feTile-large-01.svg pass.svg