|
| 1 | +[Exposed=Window] |
| 2 | +interface SVGGradientElement : SVGElement { |
| 3 | + |
| 4 | + // Spread Method Types |
| 5 | + const unsigned short SVG_SPREADMETHOD_UNKNOWN = 0; |
| 6 | + const unsigned short SVG_SPREADMETHOD_PAD = 1; |
| 7 | + const unsigned short SVG_SPREADMETHOD_REFLECT = 2; |
| 8 | + const unsigned short SVG_SPREADMETHOD_REPEAT = 3; |
| 9 | + |
| 10 | + [SameObject] readonly attribute SVGAnimatedEnumeration gradientUnits; |
| 11 | + [SameObject] readonly attribute SVGAnimatedTransformList gradientTransform; |
| 12 | + [SameObject] readonly attribute SVGAnimatedEnumeration spreadMethod; |
| 13 | +}; |
| 14 | + |
| 15 | +SVGGradientElement includes SVGURIReference; |
| 16 | + |
| 17 | +[Exposed=Window] |
| 18 | +interface SVGLinearGradientElement : SVGGradientElement { |
| 19 | + [SameObject] readonly attribute SVGAnimatedLength x1; |
| 20 | + [SameObject] readonly attribute SVGAnimatedLength y1; |
| 21 | + [SameObject] readonly attribute SVGAnimatedLength x2; |
| 22 | + [SameObject] readonly attribute SVGAnimatedLength y2; |
| 23 | +}; |
| 24 | + |
| 25 | +[Exposed=Window] |
| 26 | +interface SVGRadialGradientElement : SVGGradientElement { |
| 27 | + [SameObject] readonly attribute SVGAnimatedLength cx; |
| 28 | + [SameObject] readonly attribute SVGAnimatedLength cy; |
| 29 | + [SameObject] readonly attribute SVGAnimatedLength r; |
| 30 | + [SameObject] readonly attribute SVGAnimatedLength fx; |
| 31 | + [SameObject] readonly attribute SVGAnimatedLength fy; |
| 32 | + [SameObject] readonly attribute SVGAnimatedLength fr; |
| 33 | +}; |
| 34 | + |
| 35 | +[Exposed=Window] |
| 36 | +interface SVGStopElement : SVGElement { |
| 37 | + [SameObject] readonly attribute SVGAnimatedNumber offset; |
| 38 | +}; |
| 39 | + |
| 40 | +[Exposed=Window] |
| 41 | +interface SVGPatternElement : SVGElement { |
| 42 | + [SameObject] readonly attribute SVGAnimatedEnumeration patternUnits; |
| 43 | + [SameObject] readonly attribute SVGAnimatedEnumeration patternContentUnits; |
| 44 | + [SameObject] readonly attribute SVGAnimatedTransformList patternTransform; |
| 45 | + [SameObject] readonly attribute SVGAnimatedLength x; |
| 46 | + [SameObject] readonly attribute SVGAnimatedLength y; |
| 47 | + [SameObject] readonly attribute SVGAnimatedLength width; |
| 48 | + [SameObject] readonly attribute SVGAnimatedLength height; |
| 49 | +}; |
| 50 | + |
| 51 | +SVGPatternElement includes SVGFitToViewBox; |
| 52 | +SVGPatternElement includes SVGURIReference; |
| 53 | + |
| 54 | +partial interface CSSStyleDeclaration { |
| 55 | + [CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString stopColor; |
| 56 | + [CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString stopOpacity; |
| 57 | +}; |
0 commit comments