Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGFEMorphologyElement.idl
index 550c368..831d126 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+// http://www.w3.org/TR/filter-effects/#InterfaceSVGFEMorphologyElement
+
 [
-    DoNotCheckConstants
+    DoNotCheckConstants,
 ] interface SVGFEMorphologyElement : SVGElement {
     // Morphology Operators
-    const unsigned short SVG_MORPHOLOGY_OPERATOR_UNKNOWN  = 0;
-    const unsigned short SVG_MORPHOLOGY_OPERATOR_ERODE    = 1;
-    const unsigned short SVG_MORPHOLOGY_OPERATOR_DILATE   = 2;
+    const unsigned short SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0;
+    const unsigned short SVG_MORPHOLOGY_OPERATOR_ERODE = 1;
+    const unsigned short SVG_MORPHOLOGY_OPERATOR_DILATE = 2;
 
-    readonly attribute SVGAnimatedString      in1;
+    readonly attribute SVGAnimatedString in1;
     [ImplementedAs=svgOperator] readonly attribute SVGAnimatedEnumeration operator;
-    readonly attribute SVGAnimatedNumber      radiusX;
-    readonly attribute SVGAnimatedNumber      radiusY;
+    readonly attribute SVGAnimatedNumber radiusX;
+    readonly attribute SVGAnimatedNumber radiusY;
 
-    void setRadius([Default=Undefined] optional float radiusX,
-                   [Default=Undefined] optional float radiusY);
+    [MeasureAs=SVGFEMorphologyElementSetRadius] void setRadius([Default=Undefined] optional float radiusX,
+                                                               [Default=Undefined] optional float radiusY); // non-standard
 };
 
 SVGFEMorphologyElement implements SVGFilterPrimitiveStandardAttributes;