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

Unified Diff: sdk/lib/svg/dartium/svg_dartium.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/svg/dart2js/svg_dart2js.dart ('k') | tests/html/html.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/svg/dartium/svg_dartium.dart
diff --git a/sdk/lib/svg/dartium/svg_dartium.dart b/sdk/lib/svg/dartium/svg_dartium.dart
index 46abbf3e3d89321019456330a332ad74e0e7ccbf..e12bd91e9453472318da0ac03b50128bc1be22dc 100644
--- a/sdk/lib/svg/dartium/svg_dartium.dart
+++ b/sdk/lib/svg/dartium/svg_dartium.dart
@@ -148,19 +148,23 @@ class AElement extends StyledElement implements UriReference, Tests, Transformab
@DocsEditable
+@DomName('SVGAltGlyphDefElement')
+class AltGlyphDefElement extends SvgElement {
+ AltGlyphDefElement.internal() : super.internal();
+
+}
+// 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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
@DomName('SVGAltGlyphElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.SAFARI)
class AltGlyphElement extends TextPositioningElement implements UriReference {
AltGlyphElement.internal() : super.internal();
- @DocsEditable
- factory AltGlyphElement() => _SvgElementFactoryProvider.createSvgElement_tag("altGlyph");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('SVGAltGlyphElement.format')
@DocsEditable
String get format native "SVGAltGlyphElement_format_Getter";
@@ -190,6 +194,19 @@ class AltGlyphElement extends TextPositioningElement implements UriReference {
@DocsEditable
+@DomName('SVGAltGlyphItemElement')
+class AltGlyphItemElement extends SvgElement {
+ AltGlyphItemElement.internal() : super.internal();
+
+}
+// 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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
@DomName('SVGAngle')
class Angle extends NativeFieldWrapperClass1 {
Angle.internal();
@@ -249,19 +266,29 @@ class Angle extends NativeFieldWrapperClass1 {
@DocsEditable
+@DomName('SVGAnimateColorElement')
+class AnimateColorElement extends AnimationElement {
+ AnimateColorElement.internal() : super.internal();
+
+ @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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
@DomName('SVGAnimateElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.SAFARI)
class AnimateElement extends AnimationElement {
AnimateElement.internal() : super.internal();
@DocsEditable
factory AnimateElement() => _SvgElementFactoryProvider.createSvgElement_tag("animate");
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
}
// 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
@@ -272,18 +299,12 @@ class AnimateElement extends AnimationElement {
@DocsEditable
@DomName('SVGAnimateMotionElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.SAFARI)
class AnimateMotionElement extends AnimationElement {
AnimateMotionElement.internal() : super.internal();
@DocsEditable
factory AnimateMotionElement() => _SvgElementFactoryProvider.createSvgElement_tag("animateMotion");
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
}
// 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
@@ -294,18 +315,12 @@ class AnimateMotionElement extends AnimationElement {
@DocsEditable
@DomName('SVGAnimateTransformElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.SAFARI)
class AnimateTransformElement extends AnimationElement {
AnimateTransformElement.internal() : super.internal();
@DocsEditable
factory AnimateTransformElement() => _SvgElementFactoryProvider.createSvgElement_tag("animateTransform");
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
}
// 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
@@ -872,6 +887,107 @@ class Color extends CssValue {
@DocsEditable
+@DomName('SVGComponentTransferFunctionElement')
+class ComponentTransferFunctionElement extends SvgElement {
+ ComponentTransferFunctionElement.internal() : super.internal();
+
+ 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
+ AnimatedNumber get amplitude native "SVGComponentTransferFunctionElement_amplitude_Getter";
+
+ @DomName('SVGComponentTransferFunctionElement.exponent')
+ @DocsEditable
+ AnimatedNumber get exponent native "SVGComponentTransferFunctionElement_exponent_Getter";
+
+ @DomName('SVGComponentTransferFunctionElement.intercept')
+ @DocsEditable
+ AnimatedNumber get intercept native "SVGComponentTransferFunctionElement_intercept_Getter";
+
+ @DomName('SVGComponentTransferFunctionElement.offset')
+ @DocsEditable
+ AnimatedNumber get offset native "SVGComponentTransferFunctionElement_offset_Getter";
+
+ @DomName('SVGComponentTransferFunctionElement.slope')
+ @DocsEditable
+ AnimatedNumber get slope native "SVGComponentTransferFunctionElement_slope_Getter";
+
+ @DomName('SVGComponentTransferFunctionElement.tableValues')
+ @DocsEditable
+ AnimatedNumberList get tableValues native "SVGComponentTransferFunctionElement_tableValues_Getter";
+
+ @DomName('SVGComponentTransferFunctionElement.type')
+ @DocsEditable
+ AnimatedEnumeration get type native "SVGComponentTransferFunctionElement_type_Getter";
+
+}
+// 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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('SVGCursorElement')
+class CursorElement extends SvgElement implements UriReference, Tests, ExternalResourcesRequired {
+ CursorElement.internal() : super.internal();
+
+ @DocsEditable
+ factory CursorElement() => _SvgElementFactoryProvider.createSvgElement_tag("cursor");
+
+ @DomName('SVGCursorElement.x')
+ @DocsEditable
+ AnimatedLength get x native "SVGCursorElement_x_Getter";
+
+ @DomName('SVGCursorElement.y')
+ @DocsEditable
+ AnimatedLength get y native "SVGCursorElement_y_Getter";
+
+ @DomName('SVGCursorElement.externalResourcesRequired')
+ @DocsEditable
+ AnimatedBoolean get externalResourcesRequired native "SVGCursorElement_externalResourcesRequired_Getter";
+
+ @DomName('SVGCursorElement.requiredExtensions')
+ @DocsEditable
+ StringList get requiredExtensions native "SVGCursorElement_requiredExtensions_Getter";
+
+ @DomName('SVGCursorElement.requiredFeatures')
+ @DocsEditable
+ StringList get requiredFeatures native "SVGCursorElement_requiredFeatures_Getter";
+
+ @DomName('SVGCursorElement.systemLanguage')
+ @DocsEditable
+ StringList get systemLanguage native "SVGCursorElement_systemLanguage_Getter";
+
+ @DomName('SVGCursorElement.hasExtension')
+ @DocsEditable
+ bool hasExtension(String extension) native "SVGCursorElement_hasExtension_Callback";
+
+ @DomName('SVGCursorElement.href')
+ @DocsEditable
+ AnimatedString get href native "SVGCursorElement_href_Getter";
+
+}
+// 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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
@DomName('SVGDefsElement')
class DefsElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace {
DefsElement.internal() : super.internal();
@@ -1611,9 +1727,6 @@ class EllipseElement extends StyledElement implements Transformable, Tests, Exte
class ExternalResourcesRequired extends NativeFieldWrapperClass1 {
ExternalResourcesRequired.internal();
- /// Checks if this type is supported on the current platform.
- static bool supported(SvgElement element) => JS('bool', '#.externalResourcesRequired !== undefined && #.externalResourcesRequired.animVal !== undefined', element, element);
-
@DomName('SVGExternalResourcesRequired.externalResourcesRequired')
@DocsEditable
AnimatedBoolean get externalResourcesRequired native "SVGExternalResourcesRequired_externalResourcesRequired_Getter";
@@ -1628,19 +1741,9 @@ class ExternalResourcesRequired extends NativeFieldWrapperClass1 {
@DocsEditable
@DomName('SVGFEBlendElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FEBlendElement extends StyledElement implements FilterPrimitiveStandardAttributes {
FEBlendElement.internal() : super.internal();
- @DocsEditable
- factory FEBlendElement() => _SvgElementFactoryProvider.createSvgElement_tag("feBlend");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
static const int SVG_FEBLEND_MODE_DARKEN = 4;
static const int SVG_FEBLEND_MODE_LIGHTEN = 5;
@@ -1695,19 +1798,9 @@ 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 {
FEColorMatrixElement.internal() : super.internal();
- @DocsEditable
- factory FEColorMatrixElement() => _SvgElementFactoryProvider.createSvgElement_tag("feColorMatrix");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
static const int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
@@ -1760,19 +1853,9 @@ 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 {
FEComponentTransferElement.internal() : super.internal();
- @DocsEditable
- factory FEComponentTransferElement() => _SvgElementFactoryProvider.createSvgElement_tag("feComponentTransfer");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('SVGFEComponentTransferElement.in1')
@DocsEditable
AnimatedString get in1 native "SVGFEComponentTransferElement_in1_Getter";
@@ -1882,19 +1965,9 @@ 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 {
FEConvolveMatrixElement.internal() : super.internal();
- @DocsEditable
- factory FEConvolveMatrixElement() => _SvgElementFactoryProvider.createSvgElement_tag("feConvolveMatrix");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
static const int SVG_EDGEMODE_DUPLICATE = 1;
static const int SVG_EDGEMODE_NONE = 3;
@@ -1981,19 +2054,9 @@ 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 {
FEDiffuseLightingElement.internal() : super.internal();
- @DocsEditable
- factory FEDiffuseLightingElement() => _SvgElementFactoryProvider.createSvgElement_tag("feDiffuseLighting");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('SVGFEDiffuseLightingElement.diffuseConstant')
@DocsEditable
AnimatedNumber get diffuseConstant native "SVGFEDiffuseLightingElement_diffuseConstant_Getter";
@@ -2044,19 +2107,9 @@ 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 {
FEDisplacementMapElement.internal() : super.internal();
- @DocsEditable
- factory FEDisplacementMapElement() => _SvgElementFactoryProvider.createSvgElement_tag("feDisplacementMap");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
static const int SVG_CHANNEL_A = 4;
static const int SVG_CHANNEL_B = 3;
@@ -2117,19 +2170,9 @@ 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 {
FEDistantLightElement.internal() : super.internal();
- @DocsEditable
- factory FEDistantLightElement() => _SvgElementFactoryProvider.createSvgElement_tag("feDistantLight");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('SVGFEDistantLightElement.azimuth')
@DocsEditable
AnimatedNumber get azimuth native "SVGFEDistantLightElement_azimuth_Getter";
@@ -2147,19 +2190,66 @@ class FEDistantLightElement extends SvgElement {
@DocsEditable
-@DomName('SVGFEFloodElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
-class FEFloodElement extends StyledElement implements FilterPrimitiveStandardAttributes {
- FEFloodElement.internal() : super.internal();
+@DomName('SVGFEDropShadowElement')
+class FEDropShadowElement extends StyledElement implements FilterPrimitiveStandardAttributes {
+ FEDropShadowElement.internal() : super.internal();
+
+ @DomName('SVGFEDropShadowElement.dx')
+ @DocsEditable
+ AnimatedNumber get dx native "SVGFEDropShadowElement_dx_Getter";
+
+ @DomName('SVGFEDropShadowElement.dy')
+ @DocsEditable
+ AnimatedNumber get dy native "SVGFEDropShadowElement_dy_Getter";
+
+ @DomName('SVGFEDropShadowElement.in1')
+ @DocsEditable
+ AnimatedString get in1 native "SVGFEDropShadowElement_in1_Getter";
+
+ @DomName('SVGFEDropShadowElement.stdDeviationX')
+ @DocsEditable
+ AnimatedNumber get stdDeviationX native "SVGFEDropShadowElement_stdDeviationX_Getter";
+
+ @DomName('SVGFEDropShadowElement.stdDeviationY')
+ @DocsEditable
+ AnimatedNumber get stdDeviationY native "SVGFEDropShadowElement_stdDeviationY_Getter";
+
+ @DomName('SVGFEDropShadowElement.setStdDeviation')
+ @DocsEditable
+ void setStdDeviation(num stdDeviationX, num stdDeviationY) native "SVGFEDropShadowElement_setStdDeviation_Callback";
+
+ @DomName('SVGFEDropShadowElement.height')
+ @DocsEditable
+ AnimatedLength get height native "SVGFEDropShadowElement_height_Getter";
+
+ @DomName('SVGFEDropShadowElement.result')
+ @DocsEditable
+ AnimatedString get result native "SVGFEDropShadowElement_result_Getter";
+
+ @DomName('SVGFEDropShadowElement.width')
+ @DocsEditable
+ AnimatedLength get width native "SVGFEDropShadowElement_width_Getter";
+
+ @DomName('SVGFEDropShadowElement.x')
+ @DocsEditable
+ AnimatedLength get x native "SVGFEDropShadowElement_x_Getter";
+ @DomName('SVGFEDropShadowElement.y')
@DocsEditable
- factory FEFloodElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFlood");
+ AnimatedLength get y native "SVGFEDropShadowElement_y_Getter";
+
+}
+// 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.
+
+// WARNING: Do not edit - generated code.
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
+
+@DocsEditable
+@DomName('SVGFEFloodElement')
+class FEFloodElement extends StyledElement implements FilterPrimitiveStandardAttributes {
+ FEFloodElement.internal() : super.internal();
@DomName('SVGFEFloodElement.height')
@DocsEditable
@@ -2191,19 +2281,9 @@ 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 {
+class FEFuncAElement extends ComponentTransferFunctionElement {
FEFuncAElement.internal() : super.internal();
- @DocsEditable
- factory FEFuncAElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncA");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
}
// 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
@@ -2214,19 +2294,9 @@ class FEFuncAElement extends _SVGComponentTransferFunctionElement {
@DocsEditable
@DomName('SVGFEFuncBElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
-class FEFuncBElement extends _SVGComponentTransferFunctionElement {
+class FEFuncBElement extends ComponentTransferFunctionElement {
FEFuncBElement.internal() : super.internal();
- @DocsEditable
- factory FEFuncBElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncB");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
}
// 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
@@ -2237,19 +2307,9 @@ class FEFuncBElement extends _SVGComponentTransferFunctionElement {
@DocsEditable
@DomName('SVGFEFuncGElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
-class FEFuncGElement extends _SVGComponentTransferFunctionElement {
+class FEFuncGElement extends ComponentTransferFunctionElement {
FEFuncGElement.internal() : super.internal();
- @DocsEditable
- factory FEFuncGElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncG");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
}
// 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
@@ -2260,19 +2320,9 @@ class FEFuncGElement extends _SVGComponentTransferFunctionElement {
@DocsEditable
@DomName('SVGFEFuncRElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
-class FEFuncRElement extends _SVGComponentTransferFunctionElement {
+class FEFuncRElement extends ComponentTransferFunctionElement {
FEFuncRElement.internal() : super.internal();
- @DocsEditable
- factory FEFuncRElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncR");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
}
// 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
@@ -2283,19 +2333,9 @@ class FEFuncRElement extends _SVGComponentTransferFunctionElement {
@DocsEditable
@DomName('SVGFEGaussianBlurElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FEGaussianBlurElement extends StyledElement implements FilterPrimitiveStandardAttributes {
FEGaussianBlurElement.internal() : super.internal();
- @DocsEditable
- factory FEGaussianBlurElement() => _SvgElementFactoryProvider.createSvgElement_tag("feGaussianBlur");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('SVGFEGaussianBlurElement.in1')
@DocsEditable
AnimatedString get in1 native "SVGFEGaussianBlurElement_in1_Getter";
@@ -2342,19 +2382,9 @@ 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 {
FEImageElement.internal() : super.internal();
- @DocsEditable
- factory FEImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("feImage");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('SVGFEImageElement.preserveAspectRatio')
@DocsEditable
AnimatedPreserveAspectRatio get preserveAspectRatio native "SVGFEImageElement_preserveAspectRatio_Getter";
@@ -2413,19 +2443,9 @@ 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 {
FEMergeElement.internal() : super.internal();
- @DocsEditable
- factory FEMergeElement() => _SvgElementFactoryProvider.createSvgElement_tag("feMerge");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('SVGFEMergeElement.height')
@DocsEditable
AnimatedLength get height native "SVGFEMergeElement_height_Getter";
@@ -2456,19 +2476,9 @@ 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 {
FEMergeNodeElement.internal() : super.internal();
- @DocsEditable
- factory FEMergeNodeElement() => _SvgElementFactoryProvider.createSvgElement_tag("feMergeNode");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('SVGFEMergeNodeElement.in1')
@DocsEditable
AnimatedString get in1 native "SVGFEMergeNodeElement_in1_Getter";
@@ -2542,19 +2552,9 @@ 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 {
FEOffsetElement.internal() : super.internal();
- @DocsEditable
- factory FEOffsetElement() => _SvgElementFactoryProvider.createSvgElement_tag("feOffset");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('SVGFEOffsetElement.dx')
@DocsEditable
AnimatedNumber get dx native "SVGFEOffsetElement_dx_Getter";
@@ -2597,19 +2597,9 @@ 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 {
FEPointLightElement.internal() : super.internal();
- @DocsEditable
- factory FEPointLightElement() => _SvgElementFactoryProvider.createSvgElement_tag("fePointLight");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('SVGFEPointLightElement.x')
@DocsEditable
AnimatedNumber get x native "SVGFEPointLightElement_x_Getter";
@@ -2632,19 +2622,9 @@ class FEPointLightElement extends SvgElement {
@DocsEditable
@DomName('SVGFESpecularLightingElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FESpecularLightingElement extends StyledElement implements FilterPrimitiveStandardAttributes {
FESpecularLightingElement.internal() : super.internal();
- @DocsEditable
- factory FESpecularLightingElement() => _SvgElementFactoryProvider.createSvgElement_tag("feSpecularLighting");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('SVGFESpecularLightingElement.in1')
@DocsEditable
AnimatedString get in1 native "SVGFESpecularLightingElement_in1_Getter";
@@ -2691,19 +2671,9 @@ 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 {
FESpotLightElement.internal() : super.internal();
- @DocsEditable
- factory FESpotLightElement() => _SvgElementFactoryProvider.createSvgElement_tag("feSpotLight");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('SVGFESpotLightElement.limitingConeAngle')
@DocsEditable
AnimatedNumber get limitingConeAngle native "SVGFESpotLightElement_limitingConeAngle_Getter";
@@ -2746,19 +2716,9 @@ class FESpotLightElement extends SvgElement {
@DocsEditable
@DomName('SVGFETileElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.IE, '10')
-@SupportedBrowser(SupportedBrowser.SAFARI)
class FETileElement extends StyledElement implements FilterPrimitiveStandardAttributes {
FETileElement.internal() : super.internal();
- @DocsEditable
- factory FETileElement() => _SvgElementFactoryProvider.createSvgElement_tag("feTile");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('SVGFETileElement.in1')
@DocsEditable
AnimatedString get in1 native "SVGFETileElement_in1_Getter";
@@ -2793,19 +2753,9 @@ 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 {
FETurbulenceElement.internal() : super.internal();
- @DocsEditable
- factory FETurbulenceElement() => _SvgElementFactoryProvider.createSvgElement_tag("feTurbulence");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
static const int SVG_STITCHTYPE_NOSTITCH = 2;
static const int SVG_STITCHTYPE_STITCH = 1;
@@ -2872,19 +2822,12 @@ 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 {
FilterElement.internal() : super.internal();
@DocsEditable
factory FilterElement() => _SvgElementFactoryProvider.createSvgElement_tag("filter");
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('SVGFilterElement.filterResX')
@DocsEditable
AnimatedInteger get filterResX native "SVGFilterElement_filterResX_Getter";
@@ -3008,19 +2951,109 @@ class FitToViewBox extends NativeFieldWrapperClass1 {
@DocsEditable
+@DomName('SVGFontElement')
+class FontElement extends SvgElement {
+ FontElement.internal() : super.internal();
+
+ @DocsEditable
+ 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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('SVGFontFaceElement')
+class FontFaceElement extends SvgElement {
+ FontFaceElement.internal() : super.internal();
+
+ @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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('SVGFontFaceFormatElement')
+class FontFaceFormatElement extends SvgElement {
+ FontFaceFormatElement.internal() : super.internal();
+
+ @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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('SVGFontFaceNameElement')
+class FontFaceNameElement extends SvgElement {
+ FontFaceNameElement.internal() : super.internal();
+
+ @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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('SVGFontFaceSrcElement')
+class FontFaceSrcElement extends SvgElement {
+ FontFaceSrcElement.internal() : super.internal();
+
+ @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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('SVGFontFaceUriElement')
+class FontFaceUriElement extends SvgElement {
+ FontFaceUriElement.internal() : super.internal();
+
+ @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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
@DomName('SVGForeignObjectElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.SAFARI)
class ForeignObjectElement extends StyledElement implements Transformable, Tests, ExternalResourcesRequired, LangSpace {
ForeignObjectElement.internal() : super.internal();
@DocsEditable
factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_tag("foreignObject");
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('SVGForeignObjectElement.height')
@DocsEditable
AnimatedLength get height native "SVGForeignObjectElement_height_Getter";
@@ -3190,6 +3223,144 @@ class GElement extends StyledElement implements Transformable, Tests, ExternalRe
@DocsEditable
+@DomName('SVGGlyphElement')
+class GlyphElement extends SvgElement {
+ GlyphElement.internal() : super.internal();
+
+ @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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('SVGGlyphRefElement')
+class GlyphRefElement extends StyledElement implements UriReference {
+ GlyphRefElement.internal() : super.internal();
+
+ @DomName('SVGGlyphRefElement.dx')
+ @DocsEditable
+ num get dx native "SVGGlyphRefElement_dx_Getter";
+
+ @DomName('SVGGlyphRefElement.dx')
+ @DocsEditable
+ void set dx(num value) native "SVGGlyphRefElement_dx_Setter";
+
+ @DomName('SVGGlyphRefElement.dy')
+ @DocsEditable
+ num get dy native "SVGGlyphRefElement_dy_Getter";
+
+ @DomName('SVGGlyphRefElement.dy')
+ @DocsEditable
+ void set dy(num value) native "SVGGlyphRefElement_dy_Setter";
+
+ @DomName('SVGGlyphRefElement.format')
+ @DocsEditable
+ String get format native "SVGGlyphRefElement_format_Getter";
+
+ @DomName('SVGGlyphRefElement.format')
+ @DocsEditable
+ void set format(String value) native "SVGGlyphRefElement_format_Setter";
+
+ @DomName('SVGGlyphRefElement.glyphRef')
+ @DocsEditable
+ String get glyphRef native "SVGGlyphRefElement_glyphRef_Getter";
+
+ @DomName('SVGGlyphRefElement.glyphRef')
+ @DocsEditable
+ void set glyphRef(String value) native "SVGGlyphRefElement_glyphRef_Setter";
+
+ @DomName('SVGGlyphRefElement.x')
+ @DocsEditable
+ num get x native "SVGGlyphRefElement_x_Getter";
+
+ @DomName('SVGGlyphRefElement.x')
+ @DocsEditable
+ void set x(num value) native "SVGGlyphRefElement_x_Setter";
+
+ @DomName('SVGGlyphRefElement.y')
+ @DocsEditable
+ num get y native "SVGGlyphRefElement_y_Getter";
+
+ @DomName('SVGGlyphRefElement.y')
+ @DocsEditable
+ void set y(num value) native "SVGGlyphRefElement_y_Setter";
+
+ @DomName('SVGGlyphRefElement.href')
+ @DocsEditable
+ AnimatedString get href native "SVGGlyphRefElement_href_Getter";
+
+}
+// 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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('SVGGradientElement')
+class GradientElement extends StyledElement implements UriReference, ExternalResourcesRequired {
+ GradientElement.internal() : super.internal();
+
+ 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
+ AnimatedTransformList get gradientTransform native "SVGGradientElement_gradientTransform_Getter";
+
+ @DomName('SVGGradientElement.gradientUnits')
+ @DocsEditable
+ AnimatedEnumeration get gradientUnits native "SVGGradientElement_gradientUnits_Getter";
+
+ @DomName('SVGGradientElement.spreadMethod')
+ @DocsEditable
+ AnimatedEnumeration get spreadMethod native "SVGGradientElement_spreadMethod_Getter";
+
+ @DomName('SVGGradientElement.externalResourcesRequired')
+ @DocsEditable
+ AnimatedBoolean get externalResourcesRequired native "SVGGradientElement_externalResourcesRequired_Getter";
+
+ @DomName('SVGGradientElement.href')
+ @DocsEditable
+ AnimatedString get href native "SVGGradientElement_href_Getter";
+
+}
+// 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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('SVGHKernElement')
+class HKernElement extends SvgElement {
+ HKernElement.internal() : super.internal();
+
+ @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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
@DomName('SVGImageElement')
class ImageElement extends StyledElement implements UriReference, Tests, Transformable, ExternalResourcesRequired, LangSpace {
ImageElement.internal() : super.internal();
@@ -3298,9 +3469,6 @@ class ImageElement extends StyledElement implements UriReference, Tests, Transfo
class LangSpace extends NativeFieldWrapperClass1 {
LangSpace.internal();
- /// Checks if this type is supported on the current platform.
- static bool supported(SvgElement element) => JS('bool', '#.xmlspace !== undefined && #.xmllang !== undefined', element, element);
-
@DomName('SVGLangSpace.xmllang')
@DocsEditable
String get xmllang native "SVGLangSpace_xmllang_Getter";
@@ -3719,7 +3887,7 @@ class LineElement extends StyledElement implements Transformable, Tests, Externa
@DocsEditable
@DomName('SVGLinearGradientElement')
-class LinearGradientElement extends _SVGGradientElement {
+class LinearGradientElement extends GradientElement {
LinearGradientElement.internal() : super.internal();
@DocsEditable
@@ -3787,6 +3955,30 @@ class Locatable extends NativeFieldWrapperClass1 {
@DocsEditable
+@DomName('SVGMPathElement')
+class MPathElement extends SvgElement implements UriReference, ExternalResourcesRequired {
+ MPathElement.internal() : super.internal();
+
+ @DocsEditable
+ factory MPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("mpath");
+
+ @DomName('SVGMPathElement.externalResourcesRequired')
+ @DocsEditable
+ AnimatedBoolean get externalResourcesRequired native "SVGMPathElement_externalResourcesRequired_Getter";
+
+ @DomName('SVGMPathElement.href')
+ @DocsEditable
+ AnimatedString get href native "SVGMPathElement_href_Getter";
+
+}
+// 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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
@DomName('SVGMarkerElement')
class MarkerElement extends StyledElement implements FitToViewBox, ExternalResourcesRequired, LangSpace {
MarkerElement.internal() : super.internal();
@@ -4073,6 +4265,19 @@ class MetadataElement extends SvgElement {
@DocsEditable
+@DomName('SVGMissingGlyphElement')
+class MissingGlyphElement extends StyledElement {
+ MissingGlyphElement.internal() : super.internal();
+
+}
+// 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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
@DomName('SVGNumber')
class Number extends NativeFieldWrapperClass1 {
Number.internal();
@@ -5957,7 +6162,7 @@ class PreserveAspectRatio extends NativeFieldWrapperClass1 {
@DocsEditable
@DomName('SVGRadialGradientElement')
-class RadialGradientElement extends _SVGGradientElement {
+class RadialGradientElement extends GradientElement {
RadialGradientElement.internal() : super.internal();
@DocsEditable
@@ -6203,18 +6408,12 @@ class ScriptElement extends SvgElement implements UriReference, ExternalResource
@DocsEditable
@DomName('SVGSetElement')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.FIREFOX)
-@SupportedBrowser(SupportedBrowser.SAFARI)
class SetElement extends AnimationElement {
SetElement.internal() : super.internal();
@DocsEditable
factory SetElement() => _SvgElementFactoryProvider.createSvgElement_tag("set");
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
}
// 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
@@ -6684,15 +6883,6 @@ class SvgElement extends Element {
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);
- }
SvgElement.internal() : super.internal();
@DomName('SVGElement.id')
@@ -7143,12 +7333,16 @@ class SymbolElement extends StyledElement implements FitToViewBox, ExternalResou
@DocsEditable
-@DomName('SVGTSpanElement')
-class TSpanElement extends TextPositioningElement {
- TSpanElement.internal() : super.internal();
+@DomName('SVGTRefElement')
+class TRefElement extends TextPositioningElement implements UriReference {
+ TRefElement.internal() : super.internal();
@DocsEditable
- factory TSpanElement() => _SvgElementFactoryProvider.createSvgElement_tag("tspan");
+ factory TRefElement() => _SvgElementFactoryProvider.createSvgElement_tag("tref");
+
+ @DomName('SVGTRefElement.href')
+ @DocsEditable
+ AnimatedString get href native "SVGTRefElement_href_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -7159,7 +7353,23 @@ class TSpanElement extends TextPositioningElement {
@DocsEditable
-@DomName('SVGTests')
+@DomName('SVGTSpanElement')
+class TSpanElement extends TextPositioningElement {
+ TSpanElement.internal() : super.internal();
+
+ @DocsEditable
+ factory TSpanElement() => _SvgElementFactoryProvider.createSvgElement_tag("tspan");
+
+}
+// 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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('SVGTests')
class Tests extends NativeFieldWrapperClass1 {
Tests.internal();
@@ -7918,6 +8128,22 @@ class UseElement extends StyledElement implements UriReference, Tests, Transform
@DocsEditable
+@DomName('SVGVKernElement')
+class VKernElement extends SvgElement {
+ VKernElement.internal() : super.internal();
+
+ @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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
@DomName('SVGViewElement')
class ViewElement extends SvgElement implements FitToViewBox, ExternalResourcesRequired, ZoomAndPan {
ViewElement.internal() : super.internal();
@@ -8264,492 +8490,3 @@ class _ElementInstanceList extends NativeFieldWrapperClass1 implements List<Elem
ElementInstance item(int index) native "SVGElementInstanceList_item_Callback";
}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGAltGlyphDefElement')
-class _SVGAltGlyphDefElement extends SvgElement {
- _SVGAltGlyphDefElement.internal() : super.internal();
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGAltGlyphItemElement')
-class _SVGAltGlyphItemElement extends SvgElement {
- _SVGAltGlyphItemElement.internal() : super.internal();
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGAnimateColorElement')
-class _SVGAnimateColorElement extends AnimationElement {
- _SVGAnimateColorElement.internal() : super.internal();
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGComponentTransferFunctionElement')
-class _SVGComponentTransferFunctionElement extends SvgElement {
- _SVGComponentTransferFunctionElement.internal() : super.internal();
-
- 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
- AnimatedNumber get amplitude native "SVGComponentTransferFunctionElement_amplitude_Getter";
-
- @DomName('SVGComponentTransferFunctionElement.exponent')
- @DocsEditable
- AnimatedNumber get exponent native "SVGComponentTransferFunctionElement_exponent_Getter";
-
- @DomName('SVGComponentTransferFunctionElement.intercept')
- @DocsEditable
- AnimatedNumber get intercept native "SVGComponentTransferFunctionElement_intercept_Getter";
-
- @DomName('SVGComponentTransferFunctionElement.offset')
- @DocsEditable
- AnimatedNumber get offset native "SVGComponentTransferFunctionElement_offset_Getter";
-
- @DomName('SVGComponentTransferFunctionElement.slope')
- @DocsEditable
- AnimatedNumber get slope native "SVGComponentTransferFunctionElement_slope_Getter";
-
- @DomName('SVGComponentTransferFunctionElement.tableValues')
- @DocsEditable
- AnimatedNumberList get tableValues native "SVGComponentTransferFunctionElement_tableValues_Getter";
-
- @DomName('SVGComponentTransferFunctionElement.type')
- @DocsEditable
- AnimatedEnumeration get type native "SVGComponentTransferFunctionElement_type_Getter";
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGCursorElement')
-class _SVGCursorElement extends SvgElement implements UriReference, Tests, ExternalResourcesRequired {
- _SVGCursorElement.internal() : super.internal();
-
- @DocsEditable
- factory _SVGCursorElement() => _SvgElementFactoryProvider.createSvgElement_tag("cursor");
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
- @DomName('SVGCursorElement.x')
- @DocsEditable
- AnimatedLength get x native "SVGCursorElement_x_Getter";
-
- @DomName('SVGCursorElement.y')
- @DocsEditable
- AnimatedLength get y native "SVGCursorElement_y_Getter";
-
- @DomName('SVGCursorElement.externalResourcesRequired')
- @DocsEditable
- AnimatedBoolean get externalResourcesRequired native "SVGCursorElement_externalResourcesRequired_Getter";
-
- @DomName('SVGCursorElement.requiredExtensions')
- @DocsEditable
- StringList get requiredExtensions native "SVGCursorElement_requiredExtensions_Getter";
-
- @DomName('SVGCursorElement.requiredFeatures')
- @DocsEditable
- StringList get requiredFeatures native "SVGCursorElement_requiredFeatures_Getter";
-
- @DomName('SVGCursorElement.systemLanguage')
- @DocsEditable
- StringList get systemLanguage native "SVGCursorElement_systemLanguage_Getter";
-
- @DomName('SVGCursorElement.hasExtension')
- @DocsEditable
- bool hasExtension(String extension) native "SVGCursorElement_hasExtension_Callback";
-
- @DomName('SVGCursorElement.href')
- @DocsEditable
- AnimatedString get href native "SVGCursorElement_href_Getter";
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGFEDropShadowElement')
-class _SVGFEDropShadowElement extends StyledElement implements FilterPrimitiveStandardAttributes {
- _SVGFEDropShadowElement.internal() : super.internal();
-
- @DomName('SVGFEDropShadowElement.dx')
- @DocsEditable
- AnimatedNumber get dx native "SVGFEDropShadowElement_dx_Getter";
-
- @DomName('SVGFEDropShadowElement.dy')
- @DocsEditable
- AnimatedNumber get dy native "SVGFEDropShadowElement_dy_Getter";
-
- @DomName('SVGFEDropShadowElement.in1')
- @DocsEditable
- AnimatedString get in1 native "SVGFEDropShadowElement_in1_Getter";
-
- @DomName('SVGFEDropShadowElement.stdDeviationX')
- @DocsEditable
- AnimatedNumber get stdDeviationX native "SVGFEDropShadowElement_stdDeviationX_Getter";
-
- @DomName('SVGFEDropShadowElement.stdDeviationY')
- @DocsEditable
- AnimatedNumber get stdDeviationY native "SVGFEDropShadowElement_stdDeviationY_Getter";
-
- @DomName('SVGFEDropShadowElement.setStdDeviation')
- @DocsEditable
- void setStdDeviation(num stdDeviationX, num stdDeviationY) native "SVGFEDropShadowElement_setStdDeviation_Callback";
-
- @DomName('SVGFEDropShadowElement.height')
- @DocsEditable
- AnimatedLength get height native "SVGFEDropShadowElement_height_Getter";
-
- @DomName('SVGFEDropShadowElement.result')
- @DocsEditable
- AnimatedString get result native "SVGFEDropShadowElement_result_Getter";
-
- @DomName('SVGFEDropShadowElement.width')
- @DocsEditable
- AnimatedLength get width native "SVGFEDropShadowElement_width_Getter";
-
- @DomName('SVGFEDropShadowElement.x')
- @DocsEditable
- AnimatedLength get x native "SVGFEDropShadowElement_x_Getter";
-
- @DomName('SVGFEDropShadowElement.y')
- @DocsEditable
- AnimatedLength get y native "SVGFEDropShadowElement_y_Getter";
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGFontElement')
-class _SVGFontElement extends SvgElement {
- _SVGFontElement.internal() : super.internal();
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGFontFaceElement')
-class _SVGFontFaceElement extends SvgElement {
- _SVGFontFaceElement.internal() : super.internal();
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGFontFaceFormatElement')
-class _SVGFontFaceFormatElement extends SvgElement {
- _SVGFontFaceFormatElement.internal() : super.internal();
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGFontFaceNameElement')
-class _SVGFontFaceNameElement extends SvgElement {
- _SVGFontFaceNameElement.internal() : super.internal();
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGFontFaceSrcElement')
-class _SVGFontFaceSrcElement extends SvgElement {
- _SVGFontFaceSrcElement.internal() : super.internal();
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGFontFaceUriElement')
-class _SVGFontFaceUriElement extends SvgElement {
- _SVGFontFaceUriElement.internal() : super.internal();
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGGlyphElement')
-class _SVGGlyphElement extends SvgElement {
- _SVGGlyphElement.internal() : super.internal();
-
- @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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGGlyphRefElement')
-class _SVGGlyphRefElement extends StyledElement implements UriReference {
- _SVGGlyphRefElement.internal() : super.internal();
-
- @DomName('SVGGlyphRefElement.dx')
- @DocsEditable
- num get dx native "SVGGlyphRefElement_dx_Getter";
-
- @DomName('SVGGlyphRefElement.dx')
- @DocsEditable
- void set dx(num value) native "SVGGlyphRefElement_dx_Setter";
-
- @DomName('SVGGlyphRefElement.dy')
- @DocsEditable
- num get dy native "SVGGlyphRefElement_dy_Getter";
-
- @DomName('SVGGlyphRefElement.dy')
- @DocsEditable
- void set dy(num value) native "SVGGlyphRefElement_dy_Setter";
-
- @DomName('SVGGlyphRefElement.format')
- @DocsEditable
- String get format native "SVGGlyphRefElement_format_Getter";
-
- @DomName('SVGGlyphRefElement.format')
- @DocsEditable
- void set format(String value) native "SVGGlyphRefElement_format_Setter";
-
- @DomName('SVGGlyphRefElement.glyphRef')
- @DocsEditable
- String get glyphRef native "SVGGlyphRefElement_glyphRef_Getter";
-
- @DomName('SVGGlyphRefElement.glyphRef')
- @DocsEditable
- void set glyphRef(String value) native "SVGGlyphRefElement_glyphRef_Setter";
-
- @DomName('SVGGlyphRefElement.x')
- @DocsEditable
- num get x native "SVGGlyphRefElement_x_Getter";
-
- @DomName('SVGGlyphRefElement.x')
- @DocsEditable
- void set x(num value) native "SVGGlyphRefElement_x_Setter";
-
- @DomName('SVGGlyphRefElement.y')
- @DocsEditable
- num get y native "SVGGlyphRefElement_y_Getter";
-
- @DomName('SVGGlyphRefElement.y')
- @DocsEditable
- void set y(num value) native "SVGGlyphRefElement_y_Setter";
-
- @DomName('SVGGlyphRefElement.href')
- @DocsEditable
- AnimatedString get href native "SVGGlyphRefElement_href_Getter";
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGGradientElement')
-class _SVGGradientElement extends StyledElement implements UriReference, ExternalResourcesRequired {
- _SVGGradientElement.internal() : super.internal();
-
- 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
- AnimatedTransformList get gradientTransform native "SVGGradientElement_gradientTransform_Getter";
-
- @DomName('SVGGradientElement.gradientUnits')
- @DocsEditable
- AnimatedEnumeration get gradientUnits native "SVGGradientElement_gradientUnits_Getter";
-
- @DomName('SVGGradientElement.spreadMethod')
- @DocsEditable
- AnimatedEnumeration get spreadMethod native "SVGGradientElement_spreadMethod_Getter";
-
- @DomName('SVGGradientElement.externalResourcesRequired')
- @DocsEditable
- AnimatedBoolean get externalResourcesRequired native "SVGGradientElement_externalResourcesRequired_Getter";
-
- @DomName('SVGGradientElement.href')
- @DocsEditable
- AnimatedString get href native "SVGGradientElement_href_Getter";
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGHKernElement')
-class _SVGHKernElement extends SvgElement {
- _SVGHKernElement.internal() : super.internal();
-
- @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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGMPathElement')
-class _SVGMPathElement extends SvgElement implements UriReference, ExternalResourcesRequired {
- _SVGMPathElement.internal() : super.internal();
-
- @DocsEditable
- factory _SVGMPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("mpath");
-
- @DomName('SVGMPathElement.externalResourcesRequired')
- @DocsEditable
- AnimatedBoolean get externalResourcesRequired native "SVGMPathElement_externalResourcesRequired_Getter";
-
- @DomName('SVGMPathElement.href')
- @DocsEditable
- AnimatedString get href native "SVGMPathElement_href_Getter";
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGMissingGlyphElement')
-class _SVGMissingGlyphElement extends StyledElement {
- _SVGMissingGlyphElement.internal() : super.internal();
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGTRefElement')
-class _SVGTRefElement extends TextPositioningElement implements UriReference {
- _SVGTRefElement.internal() : super.internal();
-
- @DocsEditable
- factory _SVGTRefElement() => _SvgElementFactoryProvider.createSvgElement_tag("tref");
-
- @DomName('SVGTRefElement.href')
- @DocsEditable
- AnimatedString get href native "SVGTRefElement_href_Getter";
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('SVGVKernElement')
-class _SVGVKernElement extends SvgElement {
- _SVGVKernElement.internal() : super.internal();
-
- @DocsEditable
- factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag("vkern");
-
-}
« no previous file with comments | « sdk/lib/svg/dart2js/svg_dart2js.dart ('k') | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698