Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: sdk/lib/svg/dart2js/svg_dart2js.dart

Issue 12095088: "Reverting 17940" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/indexed_db/dartium/indexed_db_dartium.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/svg/dart2js/svg_dart2js.dart
diff --git a/sdk/lib/svg/dart2js/svg_dart2js.dart b/sdk/lib/svg/dart2js/svg_dart2js.dart
index b663c052d945e5c83203143e5fddd546ed3d6552..c49a2858254542f49b61ea825d4560105b44a28d 100644
--- a/sdk/lib/svg/dart2js/svg_dart2js.dart
+++ b/sdk/lib/svg/dart2js/svg_dart2js.dart
@@ -150,17 +150,17 @@ class AElement extends StyledElement implements UriReference, Tests, Transformab
@DocsEditable
-@DomName('SVGAltGlyphElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.SAFARI)
-class AltGlyphElement extends TextPositioningElement implements UriReference native "*SVGAltGlyphElement" {
+@DomName('SVGAltGlyphDefElement')
+class AltGlyphDefElement extends SvgElement native "*SVGAltGlyphDefElement" {
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- @DocsEditable
- factory AltGlyphElement() => _SvgElementFactoryProvider.createSvgElement_tag("altGlyph");
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('altGlyph') && (new SvgElement.tag('altGlyph') is AltGlyphElement);
+@DocsEditable
+@DomName('SVGAltGlyphElement')
+class AltGlyphElement extends TextPositioningElement implements UriReference native "*SVGAltGlyphElement" {
@DomName('SVGAltGlyphElement.format')
@DocsEditable
@@ -182,6 +182,15 @@ class AltGlyphElement extends TextPositioningElement implements UriReference nat
@DocsEditable
+@DomName('SVGAltGlyphItemElement')
+class AltGlyphItemElement extends SvgElement native "*SVGAltGlyphItemElement" {
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
@DomName('SVGAngle')
class Angle native "*SVGAngle" {
@@ -225,17 +234,23 @@ class Angle native "*SVGAngle" {
@DocsEditable
+@DomName('SVGAnimateColorElement')
+class AnimateColorElement extends AnimationElement native "*SVGAnimateColorElement" {
+
+ @DocsEditable
+ factory AnimateColorElement() => _SvgElementFactoryProvider.createSvgElement_tag("animateColor");
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
@DomName('SVGAnimateElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.SAFARI)
class AnimateElement extends AnimationElement native "*SVGAnimateElement" {
@DocsEditable
factory AnimateElement() => _SvgElementFactoryProvider.createSvgElement_tag("animate");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('animate') && (new SvgElement.tag('animate') is AnimateElement);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -244,16 +259,10 @@ class AnimateElement extends AnimationElement native "*SVGAnimateElement" {
@DocsEditable
@DomName('SVGAnimateMotionElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.SAFARI)
class AnimateMotionElement extends AnimationElement native "*SVGAnimateMotionElement" {
@DocsEditable
factory AnimateMotionElement() => _SvgElementFactoryProvider.createSvgElement_tag("animateMotion");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('animateMotion') && (new SvgElement.tag('animateMotion') is AnimateMotionElement);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -262,16 +271,10 @@ class AnimateMotionElement extends AnimationElement native "*SVGAnimateMotionEle
@DocsEditable
@DomName('SVGAnimateTransformElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.SAFARI)
class AnimateTransformElement extends AnimationElement native "*SVGAnimateTransformElement" {
@DocsEditable
factory AnimateTransformElement() => _SvgElementFactoryProvider.createSvgElement_tag("animateTransform");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('animateTransform') && (new SvgElement.tag('animateTransform') is AnimateTransformElement);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -768,6 +771,105 @@ class Color extends CssValue native "*SVGColor" {
@DocsEditable
+@DomName('SVGComponentTransferFunctionElement')
+class ComponentTransferFunctionElement extends SvgElement native "*SVGComponentTransferFunctionElement" {
+
+ static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
+
+ static const int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
+
+ static const int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
+
+ static const int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
+
+ static const int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
+
+ static const int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
+
+ @DomName('SVGComponentTransferFunctionElement.amplitude')
+ @DocsEditable
+ final AnimatedNumber amplitude;
+
+ @DomName('SVGComponentTransferFunctionElement.exponent')
+ @DocsEditable
+ final AnimatedNumber exponent;
+
+ @DomName('SVGComponentTransferFunctionElement.intercept')
+ @DocsEditable
+ final AnimatedNumber intercept;
+
+ @DomName('SVGComponentTransferFunctionElement.offset')
+ @DocsEditable
+ final AnimatedNumber offset;
+
+ @DomName('SVGComponentTransferFunctionElement.slope')
+ @DocsEditable
+ final AnimatedNumber slope;
+
+ @DomName('SVGComponentTransferFunctionElement.tableValues')
+ @DocsEditable
+ final AnimatedNumberList tableValues;
+
+ @DomName('SVGComponentTransferFunctionElement.type')
+ @DocsEditable
+ final AnimatedEnumeration type;
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
+@DomName('SVGCursorElement')
+class CursorElement extends SvgElement implements UriReference, Tests, ExternalResourcesRequired native "*SVGCursorElement" {
+
+ @DocsEditable
+ factory CursorElement() => _SvgElementFactoryProvider.createSvgElement_tag("cursor");
+
+ @DomName('SVGCursorElement.x')
+ @DocsEditable
+ final AnimatedLength x;
+
+ @DomName('SVGCursorElement.y')
+ @DocsEditable
+ final AnimatedLength y;
+
+ // From SVGExternalResourcesRequired
+
+ @DomName('SVGCursorElement.externalResourcesRequired')
+ @DocsEditable
+ final AnimatedBoolean externalResourcesRequired;
+
+ // From SVGTests
+
+ @DomName('SVGCursorElement.requiredExtensions')
+ @DocsEditable
+ final StringList requiredExtensions;
+
+ @DomName('SVGCursorElement.requiredFeatures')
+ @DocsEditable
+ final StringList requiredFeatures;
+
+ @DomName('SVGCursorElement.systemLanguage')
+ @DocsEditable
+ final StringList systemLanguage;
+
+ @DomName('SVGCursorElement.hasExtension')
+ @DocsEditable
+ bool hasExtension(String extension) native;
+
+ // From SVGURIReference
+
+ @DomName('SVGCursorElement.href')
+ @DocsEditable
+ final AnimatedString href;
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
@DomName('SVGDefsElement')
class DefsElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace native "*SVGDefsElement" {
@@ -1477,16 +1579,10 @@ class EllipseElement extends StyledElement implements Transformable, Tests, Exte
// BSD-style license that can be found in the LICENSE file.
-@DocsEditable
@DomName('SVGExternalResourcesRequired')
-class ExternalResourcesRequired native "*SVGExternalResourcesRequired" {
-
- /// Checks if this type is supported on the current platform.
- static bool supported(SvgElement element) => JS('bool', '#.externalResourcesRequired !== undefined && #.externalResourcesRequired.animVal !== undefined', element, element);
+abstract class ExternalResourcesRequired {
- @DomName('SVGExternalResourcesRequired.externalResourcesRequired')
- @DocsEditable
- final AnimatedBoolean externalResourcesRequired;
+ AnimatedBoolean externalResourcesRequired;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -1495,18 +1591,8 @@ class ExternalResourcesRequired native "*SVGExternalResourcesRequired" {
@DocsEditable
@DomName('SVGFEBlendElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FEBlendElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFEBlendElement" {
- @DocsEditable
- factory FEBlendElement() => _SvgElementFactoryProvider.createSvgElement_tag("feBlend");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feBlend') && (new SvgElement.tag('feBlend') is FEBlendElement);
-
static const int SVG_FEBLEND_MODE_DARKEN = 4;
static const int SVG_FEBLEND_MODE_LIGHTEN = 5;
@@ -1560,18 +1646,8 @@ class FEBlendElement extends StyledElement implements FilterPrimitiveStandardAtt
@DocsEditable
@DomName('SVGFEColorMatrixElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FEColorMatrixElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFEColorMatrixElement" {
- @DocsEditable
- factory FEColorMatrixElement() => _SvgElementFactoryProvider.createSvgElement_tag("feColorMatrix");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feColorMatrix') && (new SvgElement.tag('feColorMatrix') is FEColorMatrixElement);
-
static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
static const int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
@@ -1623,18 +1699,8 @@ class FEColorMatrixElement extends StyledElement implements FilterPrimitiveStand
@DocsEditable
@DomName('SVGFEComponentTransferElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FEComponentTransferElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFEComponentTransferElement" {
- @DocsEditable
- factory FEComponentTransferElement() => _SvgElementFactoryProvider.createSvgElement_tag("feComponentTransfer");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feComponentTransfer') && (new SvgElement.tag('feComponentTransfer') is FEComponentTransferElement);
-
@DomName('SVGFEComponentTransferElement.in1')
@DocsEditable
final AnimatedString in1;
@@ -1741,18 +1807,8 @@ class FECompositeElement extends StyledElement implements FilterPrimitiveStandar
@DocsEditable
@DomName('SVGFEConvolveMatrixElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FEConvolveMatrixElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFEConvolveMatrixElement" {
- @DocsEditable
- factory FEConvolveMatrixElement() => _SvgElementFactoryProvider.createSvgElement_tag("feConvolveMatrix");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feConvolveMatrix') && (new SvgElement.tag('feConvolveMatrix') is FEConvolveMatrixElement);
-
static const int SVG_EDGEMODE_DUPLICATE = 1;
static const int SVG_EDGEMODE_NONE = 3;
@@ -1838,18 +1894,8 @@ class FEConvolveMatrixElement extends StyledElement implements FilterPrimitiveSt
@DocsEditable
@DomName('SVGFEDiffuseLightingElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FEDiffuseLightingElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFEDiffuseLightingElement" {
- @DocsEditable
- factory FEDiffuseLightingElement() => _SvgElementFactoryProvider.createSvgElement_tag("feDiffuseLighting");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feDiffuseLighting') && (new SvgElement.tag('feDiffuseLighting') is FEDiffuseLightingElement);
-
@DomName('SVGFEDiffuseLightingElement.diffuseConstant')
@DocsEditable
final AnimatedNumber diffuseConstant;
@@ -1899,18 +1945,8 @@ class FEDiffuseLightingElement extends StyledElement implements FilterPrimitiveS
@DocsEditable
@DomName('SVGFEDisplacementMapElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FEDisplacementMapElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFEDisplacementMapElement" {
- @DocsEditable
- factory FEDisplacementMapElement() => _SvgElementFactoryProvider.createSvgElement_tag("feDisplacementMap");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feDisplacementMap') && (new SvgElement.tag('feDisplacementMap') is FEDisplacementMapElement);
-
static const int SVG_CHANNEL_A = 4;
static const int SVG_CHANNEL_B = 3;
@@ -1970,18 +2006,8 @@ class FEDisplacementMapElement extends StyledElement implements FilterPrimitiveS
@DocsEditable
@DomName('SVGFEDistantLightElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FEDistantLightElement extends SvgElement native "*SVGFEDistantLightElement" {
- @DocsEditable
- factory FEDistantLightElement() => _SvgElementFactoryProvider.createSvgElement_tag("feDistantLight");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feDistantLight') && (new SvgElement.tag('feDistantLight') is FEDistantLightElement);
-
@DomName('SVGFEDistantLightElement.azimuth')
@DocsEditable
final AnimatedNumber azimuth;
@@ -1996,18 +2022,63 @@ class FEDistantLightElement extends SvgElement native "*SVGFEDistantLightElement
@DocsEditable
-@DomName('SVGFEFloodElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
-class FEFloodElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFEFloodElement" {
+@DomName('SVGFEDropShadowElement')
+class FEDropShadowElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFEDropShadowElement" {
+
+ @DomName('SVGFEDropShadowElement.dx')
+ @DocsEditable
+ final AnimatedNumber dx;
+
+ @DomName('SVGFEDropShadowElement.dy')
+ @DocsEditable
+ final AnimatedNumber dy;
+
+ @DomName('SVGFEDropShadowElement.in1')
+ @DocsEditable
+ final AnimatedString in1;
+
+ @DomName('SVGFEDropShadowElement.stdDeviationX')
+ @DocsEditable
+ final AnimatedNumber stdDeviationX;
+
+ @DomName('SVGFEDropShadowElement.stdDeviationY')
+ @DocsEditable
+ final AnimatedNumber stdDeviationY;
+
+ @DomName('SVGFEDropShadowElement.setStdDeviation')
+ @DocsEditable
+ void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
+
+ // From SVGFilterPrimitiveStandardAttributes
+
+ @DomName('SVGFEDropShadowElement.height')
+ @DocsEditable
+ final AnimatedLength height;
+
+ @DomName('SVGFEDropShadowElement.result')
+ @DocsEditable
+ final AnimatedString result;
+
+ @DomName('SVGFEDropShadowElement.width')
+ @DocsEditable
+ final AnimatedLength width;
+
+ @DomName('SVGFEDropShadowElement.x')
+ @DocsEditable
+ final AnimatedLength x;
+ @DomName('SVGFEDropShadowElement.y')
@DocsEditable
- factory FEFloodElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFlood");
+ final AnimatedLength y;
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feFlood') && (new SvgElement.tag('feFlood') is FEFloodElement);
+
+@DocsEditable
+@DomName('SVGFEFloodElement')
+class FEFloodElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFEFloodElement" {
// From SVGFilterPrimitiveStandardAttributes
@@ -2038,17 +2109,7 @@ class FEFloodElement extends StyledElement implements FilterPrimitiveStandardAtt
@DocsEditable
@DomName('SVGFEFuncAElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
-class FEFuncAElement extends _SVGComponentTransferFunctionElement native "*SVGFEFuncAElement" {
-
- @DocsEditable
- factory FEFuncAElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncA");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feFuncA') && (new SvgElement.tag('feFuncA') is FEFuncAElement);
+class FEFuncAElement extends ComponentTransferFunctionElement native "*SVGFEFuncAElement" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -2057,17 +2118,7 @@ class FEFuncAElement extends _SVGComponentTransferFunctionElement native "*SVGFE
@DocsEditable
@DomName('SVGFEFuncBElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
-class FEFuncBElement extends _SVGComponentTransferFunctionElement native "*SVGFEFuncBElement" {
-
- @DocsEditable
- factory FEFuncBElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncB");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feFuncB') && (new SvgElement.tag('feFuncB') is FEFuncBElement);
+class FEFuncBElement extends ComponentTransferFunctionElement native "*SVGFEFuncBElement" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -2076,17 +2127,7 @@ class FEFuncBElement extends _SVGComponentTransferFunctionElement native "*SVGFE
@DocsEditable
@DomName('SVGFEFuncGElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
-class FEFuncGElement extends _SVGComponentTransferFunctionElement native "*SVGFEFuncGElement" {
-
- @DocsEditable
- factory FEFuncGElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncG");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feFuncG') && (new SvgElement.tag('feFuncG') is FEFuncGElement);
+class FEFuncGElement extends ComponentTransferFunctionElement native "*SVGFEFuncGElement" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -2095,17 +2136,7 @@ class FEFuncGElement extends _SVGComponentTransferFunctionElement native "*SVGFE
@DocsEditable
@DomName('SVGFEFuncRElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
-class FEFuncRElement extends _SVGComponentTransferFunctionElement native "*SVGFEFuncRElement" {
-
- @DocsEditable
- factory FEFuncRElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncR");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feFuncR') && (new SvgElement.tag('feFuncR') is FEFuncRElement);
+class FEFuncRElement extends ComponentTransferFunctionElement native "*SVGFEFuncRElement" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -2114,18 +2145,8 @@ class FEFuncRElement extends _SVGComponentTransferFunctionElement native "*SVGFE
@DocsEditable
@DomName('SVGFEGaussianBlurElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FEGaussianBlurElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFEGaussianBlurElement" {
- @DocsEditable
- factory FEGaussianBlurElement() => _SvgElementFactoryProvider.createSvgElement_tag("feGaussianBlur");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feGaussianBlur') && (new SvgElement.tag('feGaussianBlur') is FEGaussianBlurElement);
-
@DomName('SVGFEGaussianBlurElement.in1')
@DocsEditable
final AnimatedString in1;
@@ -2171,18 +2192,8 @@ class FEGaussianBlurElement extends StyledElement implements FilterPrimitiveStan
@DocsEditable
@DomName('SVGFEImageElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FEImageElement extends StyledElement implements FilterPrimitiveStandardAttributes, UriReference, ExternalResourcesRequired, LangSpace native "*SVGFEImageElement" {
- @DocsEditable
- factory FEImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("feImage");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feImage') && (new SvgElement.tag('feImage') is FEImageElement);
-
@DomName('SVGFEImageElement.preserveAspectRatio')
@DocsEditable
final AnimatedPreserveAspectRatio preserveAspectRatio;
@@ -2238,18 +2249,8 @@ class FEImageElement extends StyledElement implements FilterPrimitiveStandardAtt
@DocsEditable
@DomName('SVGFEMergeElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FEMergeElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFEMergeElement" {
- @DocsEditable
- factory FEMergeElement() => _SvgElementFactoryProvider.createSvgElement_tag("feMerge");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feMerge') && (new SvgElement.tag('feMerge') is FEMergeElement);
-
// From SVGFilterPrimitiveStandardAttributes
@DomName('SVGFEMergeElement.height')
@@ -2279,18 +2280,8 @@ class FEMergeElement extends StyledElement implements FilterPrimitiveStandardAtt
@DocsEditable
@DomName('SVGFEMergeNodeElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FEMergeNodeElement extends SvgElement native "*SVGFEMergeNodeElement" {
- @DocsEditable
- factory FEMergeNodeElement() => _SvgElementFactoryProvider.createSvgElement_tag("feMergeNode");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feMergeNode') && (new SvgElement.tag('feMergeNode') is FEMergeNodeElement);
-
@DomName('SVGFEMergeNodeElement.in1')
@DocsEditable
final AnimatedString in1;
@@ -2359,18 +2350,8 @@ class FEMorphologyElement extends StyledElement implements FilterPrimitiveStanda
@DocsEditable
@DomName('SVGFEOffsetElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FEOffsetElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFEOffsetElement" {
- @DocsEditable
- factory FEOffsetElement() => _SvgElementFactoryProvider.createSvgElement_tag("feOffset");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feOffset') && (new SvgElement.tag('feOffset') is FEOffsetElement);
-
@DomName('SVGFEOffsetElement.dx')
@DocsEditable
final AnimatedNumber dx;
@@ -2412,18 +2393,8 @@ class FEOffsetElement extends StyledElement implements FilterPrimitiveStandardAt
@DocsEditable
@DomName('SVGFEPointLightElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FEPointLightElement extends SvgElement native "*SVGFEPointLightElement" {
- @DocsEditable
- factory FEPointLightElement() => _SvgElementFactoryProvider.createSvgElement_tag("fePointLight");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('fePointLight') && (new SvgElement.tag('fePointLight') is FEPointLightElement);
-
@DomName('SVGFEPointLightElement.x')
@DocsEditable
final AnimatedNumber x;
@@ -2443,18 +2414,8 @@ class FEPointLightElement extends SvgElement native "*SVGFEPointLightElement" {
@DocsEditable
@DomName('SVGFESpecularLightingElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FESpecularLightingElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFESpecularLightingElement" {
- @DocsEditable
- factory FESpecularLightingElement() => _SvgElementFactoryProvider.createSvgElement_tag("feSpecularLighting");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feSpecularLighting') && (new SvgElement.tag('feSpecularLighting') is FESpecularLightingElement);
-
@DomName('SVGFESpecularLightingElement.in1')
@DocsEditable
final AnimatedString in1;
@@ -2500,18 +2461,8 @@ class FESpecularLightingElement extends StyledElement implements FilterPrimitive
@DocsEditable
@DomName('SVGFESpotLightElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FESpotLightElement extends SvgElement native "*SVGFESpotLightElement" {
- @DocsEditable
- factory FESpotLightElement() => _SvgElementFactoryProvider.createSvgElement_tag("feSpotLight");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feSpotLight') && (new SvgElement.tag('feSpotLight') is FESpotLightElement);
-
@DomName('SVGFESpotLightElement.limitingConeAngle')
@DocsEditable
final AnimatedNumber limitingConeAngle;
@@ -2551,18 +2502,8 @@ class FESpotLightElement extends SvgElement native "*SVGFESpotLightElement" {
@DocsEditable
@DomName('SVGFETileElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FETileElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFETileElement" {
- @DocsEditable
- factory FETileElement() => _SvgElementFactoryProvider.createSvgElement_tag("feTile");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feTile') && (new SvgElement.tag('feTile') is FETileElement);
-
@DomName('SVGFETileElement.in1')
@DocsEditable
final AnimatedString in1;
@@ -2596,18 +2537,8 @@ class FETileElement extends StyledElement implements FilterPrimitiveStandardAttr
@DocsEditable
@DomName('SVGFETurbulenceElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FETurbulenceElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFETurbulenceElement" {
- @DocsEditable
- factory FETurbulenceElement() => _SvgElementFactoryProvider.createSvgElement_tag("feTurbulence");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('feTurbulence') && (new SvgElement.tag('feTurbulence') is FETurbulenceElement);
-
static const int SVG_STITCHTYPE_NOSTITCH = 2;
static const int SVG_STITCHTYPE_STITCH = 1;
@@ -2673,18 +2604,11 @@ class FETurbulenceElement extends StyledElement implements FilterPrimitiveStanda
@DocsEditable
@DomName('SVGFilterElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FilterElement extends StyledElement implements UriReference, ExternalResourcesRequired, LangSpace native "*SVGFilterElement" {
@DocsEditable
factory FilterElement() => _SvgElementFactoryProvider.createSvgElement_tag("filter");
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('filter') && (new SvgElement.tag('filter') is FilterElement);
-
@DomName('SVGFilterElement.filterResX')
@DocsEditable
final AnimatedInteger filterResX;
@@ -2779,17 +2703,83 @@ abstract class FitToViewBox {
@DocsEditable
-@DomName('SVGForeignObjectElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.SAFARI)
-class ForeignObjectElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace native "*SVGForeignObjectElement" {
+@DomName('SVGFontElement')
+class FontElement extends SvgElement native "*SVGFontElement" {
@DocsEditable
- factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_tag("foreignObject");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('foreignObject') && (new SvgElement.tag('foreignObject') is ForeignObjectElement);
+ factory FontElement() => _SvgElementFactoryProvider.createSvgElement_tag("font");
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
+@DomName('SVGFontFaceElement')
+class FontFaceElement extends SvgElement native "*SVGFontFaceElement" {
+
+ @DocsEditable
+ factory FontFaceElement() => _SvgElementFactoryProvider.createSvgElement_tag("font-face");
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
+@DomName('SVGFontFaceFormatElement')
+class FontFaceFormatElement extends SvgElement native "*SVGFontFaceFormatElement" {
+
+ @DocsEditable
+ factory FontFaceFormatElement() => _SvgElementFactoryProvider.createSvgElement_tag("font-face-format");
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
+@DomName('SVGFontFaceNameElement')
+class FontFaceNameElement extends SvgElement native "*SVGFontFaceNameElement" {
+
+ @DocsEditable
+ factory FontFaceNameElement() => _SvgElementFactoryProvider.createSvgElement_tag("font-face-name");
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
+@DomName('SVGFontFaceSrcElement')
+class FontFaceSrcElement extends SvgElement native "*SVGFontFaceSrcElement" {
+
+ @DocsEditable
+ factory FontFaceSrcElement() => _SvgElementFactoryProvider.createSvgElement_tag("font-face-src");
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
+@DomName('SVGFontFaceUriElement')
+class FontFaceUriElement extends SvgElement native "*SVGFontFaceUriElement" {
+
+ @DocsEditable
+ factory FontFaceUriElement() => _SvgElementFactoryProvider.createSvgElement_tag("font-face-uri");
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
+@DomName('SVGForeignObjectElement')
+class ForeignObjectElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace native "*SVGForeignObjectElement" {
+
+ @DocsEditable
+ factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_tag("foreignObject");
@DomName('SVGForeignObjectElement.height')
@DocsEditable
@@ -2961,6 +2951,110 @@ class GElement extends StyledElement implements Transformable, Tests, ExternalRe
@DocsEditable
+@DomName('SVGGlyphElement')
+class GlyphElement extends SvgElement native "*SVGGlyphElement" {
+
+ @DocsEditable
+ factory GlyphElement() => _SvgElementFactoryProvider.createSvgElement_tag("glyph");
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
+@DomName('SVGGlyphRefElement')
+class GlyphRefElement extends StyledElement implements UriReference native "*SVGGlyphRefElement" {
+
+ @DomName('SVGGlyphRefElement.dx')
+ @DocsEditable
+ num dx;
+
+ @DomName('SVGGlyphRefElement.dy')
+ @DocsEditable
+ num dy;
+
+ @DomName('SVGGlyphRefElement.format')
+ @DocsEditable
+ String format;
+
+ @DomName('SVGGlyphRefElement.glyphRef')
+ @DocsEditable
+ String glyphRef;
+
+ @DomName('SVGGlyphRefElement.x')
+ @DocsEditable
+ num x;
+
+ @DomName('SVGGlyphRefElement.y')
+ @DocsEditable
+ num y;
+
+ // From SVGURIReference
+
+ @DomName('SVGGlyphRefElement.href')
+ @DocsEditable
+ final AnimatedString href;
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
+@DomName('SVGGradientElement')
+class GradientElement extends StyledElement implements UriReference, ExternalResourcesRequired native "*SVGGradientElement" {
+
+ static const int SVG_SPREADMETHOD_PAD = 1;
+
+ static const int SVG_SPREADMETHOD_REFLECT = 2;
+
+ static const int SVG_SPREADMETHOD_REPEAT = 3;
+
+ static const int SVG_SPREADMETHOD_UNKNOWN = 0;
+
+ @DomName('SVGGradientElement.gradientTransform')
+ @DocsEditable
+ final AnimatedTransformList gradientTransform;
+
+ @DomName('SVGGradientElement.gradientUnits')
+ @DocsEditable
+ final AnimatedEnumeration gradientUnits;
+
+ @DomName('SVGGradientElement.spreadMethod')
+ @DocsEditable
+ final AnimatedEnumeration spreadMethod;
+
+ // From SVGExternalResourcesRequired
+
+ @DomName('SVGGradientElement.externalResourcesRequired')
+ @DocsEditable
+ final AnimatedBoolean externalResourcesRequired;
+
+ // From SVGURIReference
+
+ @DomName('SVGGradientElement.href')
+ @DocsEditable
+ final AnimatedString href;
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
+@DomName('SVGHKernElement')
+class HKernElement extends SvgElement native "*SVGHKernElement" {
+
+ @DocsEditable
+ factory HKernElement() => _SvgElementFactoryProvider.createSvgElement_tag("hkern");
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
@DomName('SVGImageElement')
class ImageElement extends StyledElement implements UriReference, Tests, Transformable, ExternalResourcesRequired, LangSpace native "*SVGImageElement" {
@@ -3066,19 +3160,11 @@ class ImageElement extends StyledElement implements UriReference, Tests, Transfo
// BSD-style license that can be found in the LICENSE file.
-@DocsEditable
@DomName('SVGLangSpace')
-class LangSpace native "*SVGLangSpace" {
-
- /// Checks if this type is supported on the current platform.
- static bool supported(SvgElement element) => JS('bool', '#.xmlspace !== undefined && #.xmllang !== undefined', element, element);
+abstract class LangSpace {
- @DomName('SVGLangSpace.xmllang')
- @DocsEditable
String xmllang;
- @DomName('SVGLangSpace.xmlspace')
- @DocsEditable
String xmlspace;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -3460,7 +3546,7 @@ class LineElement extends StyledElement implements Transformable, Tests, Externa
@DocsEditable
@DomName('SVGLinearGradientElement')
-class LinearGradientElement extends _SVGGradientElement native "*SVGLinearGradientElement" {
+class LinearGradientElement extends GradientElement native "*SVGLinearGradientElement" {
@DocsEditable
factory LinearGradientElement() => _SvgElementFactoryProvider.createSvgElement_tag("linearGradient");
@@ -3507,6 +3593,30 @@ abstract class Locatable {
@DocsEditable
+@DomName('SVGMPathElement')
+class MPathElement extends SvgElement implements UriReference, ExternalResourcesRequired native "*SVGMPathElement" {
+
+ @DocsEditable
+ factory MPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("mpath");
+
+ // From SVGExternalResourcesRequired
+
+ @DomName('SVGMPathElement.externalResourcesRequired')
+ @DocsEditable
+ final AnimatedBoolean externalResourcesRequired;
+
+ // From SVGURIReference
+
+ @DomName('SVGMPathElement.href')
+ @DocsEditable
+ final AnimatedString href;
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
@DomName('SVGMarkerElement')
class MarkerElement extends StyledElement implements FitToViewBox, ExternalResourcesRequired, LangSpace native "*SVGMarkerElement" {
@@ -3749,6 +3859,15 @@ class MetadataElement extends SvgElement native "*SVGMetadataElement" {
@DocsEditable
+@DomName('SVGMissingGlyphElement')
+class MissingGlyphElement extends StyledElement native "*SVGMissingGlyphElement" {
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
@DomName('SVGNumber')
class Number native "*SVGNumber" {
@@ -5290,7 +5409,7 @@ class PreserveAspectRatio native "*SVGPreserveAspectRatio" {
@DocsEditable
@DomName('SVGRadialGradientElement')
-class RadialGradientElement extends _SVGGradientElement native "*SVGRadialGradientElement" {
+class RadialGradientElement extends GradientElement native "*SVGRadialGradientElement" {
@DocsEditable
factory RadialGradientElement() => _SvgElementFactoryProvider.createSvgElement_tag("radialGradient");
@@ -5504,16 +5623,10 @@ class ScriptElement extends SvgElement implements UriReference, ExternalResource
@DocsEditable
@DomName('SVGSetElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.SAFARI)
class SetElement extends AnimationElement native "*SVGSetElement" {
@DocsEditable
factory SetElement() => _SvgElementFactoryProvider.createSvgElement_tag("set");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('set') && (new SvgElement.tag('set') is SetElement);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -5943,15 +6056,6 @@ class SvgElement extends Element native "*SVGElement" {
throw new UnsupportedError("Cannot invoke click SVG.");
}
- /**
- * Checks to see if the SVG element type is supported by the current platform.
- *
- * The tag should be a valid SVG element tag name.
- */
- static bool isTagSupported(String tag) {
- var e = new SvgElement.tag(tag);
- return e is SvgElement && !(e is UnknownElement);
- }
// Shadowing definition.
String get id => JS("String", "#.id", this);
@@ -6388,6 +6492,24 @@ class SymbolElement extends StyledElement implements FitToViewBox, ExternalResou
@DocsEditable
+@DomName('SVGTRefElement')
+class TRefElement extends TextPositioningElement implements UriReference native "*SVGTRefElement" {
+
+ @DocsEditable
+ factory TRefElement() => _SvgElementFactoryProvider.createSvgElement_tag("tref");
+
+ // From SVGURIReference
+
+ @DomName('SVGTRefElement.href')
+ @DocsEditable
+ final AnimatedString href;
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
@DomName('SVGTSpanElement')
class TSpanElement extends TextPositioningElement native "*SVGTSpanElement" {
@@ -7093,6 +7215,18 @@ class UseElement extends StyledElement implements UriReference, Tests, Transform
@DocsEditable
+@DomName('SVGVKernElement')
+class VKernElement extends SvgElement native "*SVGVKernElement" {
+
+ @DocsEditable
+ factory VKernElement() => _SvgElementFactoryProvider.createSvgElement_tag("vkern");
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
@DomName('SVGViewElement')
class ViewElement extends SvgElement implements FitToViewBox, ExternalResourcesRequired, ZoomAndPan native "*SVGViewElement" {
@@ -7412,408 +7546,3 @@ class _ElementInstanceList implements JavaScriptIndexingBehavior, List<ElementIn
@DocsEditable
ElementInstance item(int index) native;
}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGAltGlyphDefElement')
-class _SVGAltGlyphDefElement extends SvgElement native "*SVGAltGlyphDefElement" {
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGAltGlyphItemElement')
-class _SVGAltGlyphItemElement extends SvgElement native "*SVGAltGlyphItemElement" {
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGAnimateColorElement')
-class _SVGAnimateColorElement extends AnimationElement native "*SVGAnimateColorElement" {
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGComponentTransferFunctionElement')
-class _SVGComponentTransferFunctionElement extends SvgElement native "*SVGComponentTransferFunctionElement" {
-
- static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
-
- static const int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
-
- static const int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
-
- static const int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
-
- static const int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
-
- static const int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
-
- @DomName('SVGComponentTransferFunctionElement.amplitude')
- @DocsEditable
- final AnimatedNumber amplitude;
-
- @DomName('SVGComponentTransferFunctionElement.exponent')
- @DocsEditable
- final AnimatedNumber exponent;
-
- @DomName('SVGComponentTransferFunctionElement.intercept')
- @DocsEditable
- final AnimatedNumber intercept;
-
- @DomName('SVGComponentTransferFunctionElement.offset')
- @DocsEditable
- final AnimatedNumber offset;
-
- @DomName('SVGComponentTransferFunctionElement.slope')
- @DocsEditable
- final AnimatedNumber slope;
-
- @DomName('SVGComponentTransferFunctionElement.tableValues')
- @DocsEditable
- final AnimatedNumberList tableValues;
-
- @DomName('SVGComponentTransferFunctionElement.type')
- @DocsEditable
- final AnimatedEnumeration type;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGCursorElement')
-class _SVGCursorElement extends SvgElement implements UriReference, Tests, ExternalResourcesRequired native "*SVGCursorElement" {
-
- @DocsEditable
- factory _SVGCursorElement() => _SvgElementFactoryProvider.createSvgElement_tag("cursor");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => SvgElement.isTagSupported('cursor') && (new SvgElement.tag('cursor') is _SVGCursorElement);
-
- @DomName('SVGCursorElement.x')
- @DocsEditable
- final AnimatedLength x;
-
- @DomName('SVGCursorElement.y')
- @DocsEditable
- final AnimatedLength y;
-
- // From SVGExternalResourcesRequired
-
- @DomName('SVGCursorElement.externalResourcesRequired')
- @DocsEditable
- final AnimatedBoolean externalResourcesRequired;
-
- // From SVGTests
-
- @DomName('SVGCursorElement.requiredExtensions')
- @DocsEditable
- final StringList requiredExtensions;
-
- @DomName('SVGCursorElement.requiredFeatures')
- @DocsEditable
- final StringList requiredFeatures;
-
- @DomName('SVGCursorElement.systemLanguage')
- @DocsEditable
- final StringList systemLanguage;
-
- @DomName('SVGCursorElement.hasExtension')
- @DocsEditable
- bool hasExtension(String extension) native;
-
- // From SVGURIReference
-
- @DomName('SVGCursorElement.href')
- @DocsEditable
- final AnimatedString href;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGFEDropShadowElement')
-class _SVGFEDropShadowElement extends StyledElement implements FilterPrimitiveStandardAttributes native "*SVGFEDropShadowElement" {
-
- @DomName('SVGFEDropShadowElement.dx')
- @DocsEditable
- final AnimatedNumber dx;
-
- @DomName('SVGFEDropShadowElement.dy')
- @DocsEditable
- final AnimatedNumber dy;
-
- @DomName('SVGFEDropShadowElement.in1')
- @DocsEditable
- final AnimatedString in1;
-
- @DomName('SVGFEDropShadowElement.stdDeviationX')
- @DocsEditable
- final AnimatedNumber stdDeviationX;
-
- @DomName('SVGFEDropShadowElement.stdDeviationY')
- @DocsEditable
- final AnimatedNumber stdDeviationY;
-
- @DomName('SVGFEDropShadowElement.setStdDeviation')
- @DocsEditable
- void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
-
- // From SVGFilterPrimitiveStandardAttributes
-
- @DomName('SVGFEDropShadowElement.height')
- @DocsEditable
- final AnimatedLength height;
-
- @DomName('SVGFEDropShadowElement.result')
- @DocsEditable
- final AnimatedString result;
-
- @DomName('SVGFEDropShadowElement.width')
- @DocsEditable
- final AnimatedLength width;
-
- @DomName('SVGFEDropShadowElement.x')
- @DocsEditable
- final AnimatedLength x;
-
- @DomName('SVGFEDropShadowElement.y')
- @DocsEditable
- final AnimatedLength y;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGFontElement')
-class _SVGFontElement extends SvgElement native "*SVGFontElement" {
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGFontFaceElement')
-class _SVGFontFaceElement extends SvgElement native "*SVGFontFaceElement" {
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGFontFaceFormatElement')
-class _SVGFontFaceFormatElement extends SvgElement native "*SVGFontFaceFormatElement" {
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGFontFaceNameElement')
-class _SVGFontFaceNameElement extends SvgElement native "*SVGFontFaceNameElement" {
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGFontFaceSrcElement')
-class _SVGFontFaceSrcElement extends SvgElement native "*SVGFontFaceSrcElement" {
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGFontFaceUriElement')
-class _SVGFontFaceUriElement extends SvgElement native "*SVGFontFaceUriElement" {
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGGlyphElement')
-class _SVGGlyphElement extends SvgElement native "*SVGGlyphElement" {
-
- @DocsEditable
- factory _SVGGlyphElement() => _SvgElementFactoryProvider.createSvgElement_tag("glyph");
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGGlyphRefElement')
-class _SVGGlyphRefElement extends StyledElement implements UriReference native "*SVGGlyphRefElement" {
-
- @DomName('SVGGlyphRefElement.dx')
- @DocsEditable
- num dx;
-
- @DomName('SVGGlyphRefElement.dy')
- @DocsEditable
- num dy;
-
- @DomName('SVGGlyphRefElement.format')
- @DocsEditable
- String format;
-
- @DomName('SVGGlyphRefElement.glyphRef')
- @DocsEditable
- String glyphRef;
-
- @DomName('SVGGlyphRefElement.x')
- @DocsEditable
- num x;
-
- @DomName('SVGGlyphRefElement.y')
- @DocsEditable
- num y;
-
- // From SVGURIReference
-
- @DomName('SVGGlyphRefElement.href')
- @DocsEditable
- final AnimatedString href;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGGradientElement')
-class _SVGGradientElement extends StyledElement implements UriReference, ExternalResourcesRequired native "*SVGGradientElement" {
-
- static const int SVG_SPREADMETHOD_PAD = 1;
-
- static const int SVG_SPREADMETHOD_REFLECT = 2;
-
- static const int SVG_SPREADMETHOD_REPEAT = 3;
-
- static const int SVG_SPREADMETHOD_UNKNOWN = 0;
-
- @DomName('SVGGradientElement.gradientTransform')
- @DocsEditable
- final AnimatedTransformList gradientTransform;
-
- @DomName('SVGGradientElement.gradientUnits')
- @DocsEditable
- final AnimatedEnumeration gradientUnits;
-
- @DomName('SVGGradientElement.spreadMethod')
- @DocsEditable
- final AnimatedEnumeration spreadMethod;
-
- // From SVGExternalResourcesRequired
-
- @DomName('SVGGradientElement.externalResourcesRequired')
- @DocsEditable
- final AnimatedBoolean externalResourcesRequired;
-
- // From SVGURIReference
-
- @DomName('SVGGradientElement.href')
- @DocsEditable
- final AnimatedString href;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGHKernElement')
-class _SVGHKernElement extends SvgElement native "*SVGHKernElement" {
-
- @DocsEditable
- factory _SVGHKernElement() => _SvgElementFactoryProvider.createSvgElement_tag("hkern");
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGMPathElement')
-class _SVGMPathElement extends SvgElement implements UriReference, ExternalResourcesRequired native "*SVGMPathElement" {
-
- @DocsEditable
- factory _SVGMPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("mpath");
-
- // From SVGExternalResourcesRequired
-
- @DomName('SVGMPathElement.externalResourcesRequired')
- @DocsEditable
- final AnimatedBoolean externalResourcesRequired;
-
- // From SVGURIReference
-
- @DomName('SVGMPathElement.href')
- @DocsEditable
- final AnimatedString href;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGMissingGlyphElement')
-class _SVGMissingGlyphElement extends StyledElement native "*SVGMissingGlyphElement" {
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGTRefElement')
-class _SVGTRefElement extends TextPositioningElement implements UriReference native "*SVGTRefElement" {
-
- @DocsEditable
- factory _SVGTRefElement() => _SvgElementFactoryProvider.createSvgElement_tag("tref");
-
- // From SVGURIReference
-
- @DomName('SVGTRefElement.href')
- @DocsEditable
- final AnimatedString href;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
-@DomName('SVGVKernElement')
-class _SVGVKernElement extends SvgElement native "*SVGVKernElement" {
-
- @DocsEditable
- factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag("vkern");
-}
« no previous file with comments | « sdk/lib/indexed_db/dartium/indexed_db_dartium.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698