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

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

Issue 11293292: Add constructors for SVG elements and remove static factory providers for html elements. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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
Index: sdk/lib/svg/dart2js/svg_dart2js.dart
===================================================================
--- sdk/lib/svg/dart2js/svg_dart2js.dart (revision 14920)
+++ sdk/lib/svg/dart2js/svg_dart2js.dart (working copy)
@@ -56,6 +56,8 @@
/// @domName SVGAElement
class SVGAElement extends SVGElement implements SVGLangSpace, SVGTests, SVGStylable, SVGURIReference, SVGExternalResourcesRequired, SVGTransformable native "*SVGAElement" {
+ factory SVGAElement() => _SvgElements.createSVGAElement();
+
/** @domName SVGAElement.target */
final SVGAnimatedString target;
@@ -205,6 +207,8 @@
/// @domName SVGAnimateColorElement
class SVGAnimateColorElement extends SVGAnimationElement native "*SVGAnimateColorElement" {
+
+ factory SVGAnimateColorElement() => _SvgElements.createSVGAnimateColorElement();
}
// 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
@@ -213,6 +217,8 @@
/// @domName SVGAnimateElement
class SVGAnimateElement extends SVGAnimationElement native "*SVGAnimateElement" {
+
+ factory SVGAnimateElement() => _SvgElements.createSVGAnimateElement();
}
// 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
@@ -221,6 +227,8 @@
/// @domName SVGAnimateMotionElement
class SVGAnimateMotionElement extends SVGAnimationElement native "*SVGAnimateMotionElement" {
+
+ factory SVGAnimateMotionElement() => _SvgElements.createSVGAnimateMotionElement();
}
// 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
@@ -229,6 +237,8 @@
/// @domName SVGAnimateTransformElement
class SVGAnimateTransformElement extends SVGAnimationElement native "*SVGAnimateTransformElement" {
+
+ factory SVGAnimateTransformElement() => _SvgElements.createSVGAnimateTransformElement();
}
// 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
@@ -655,6 +665,8 @@
/// @domName SVGAnimationElement
class SVGAnimationElement extends SVGElement implements ElementTimeControl, SVGTests, SVGExternalResourcesRequired native "*SVGAnimationElement" {
+ factory SVGAnimationElement() => _SvgElements.createSVGAnimationElement();
+
/** @domName SVGAnimationElement.targetElement */
final SVGElement targetElement;
@@ -708,6 +720,8 @@
/// @domName SVGCircleElement
class SVGCircleElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGCircleElement" {
+ factory SVGCircleElement() => _SvgElements.createSVGCircleElement();
+
/** @domName SVGCircleElement.cx */
final SVGAnimatedLength cx;
@@ -788,6 +802,8 @@
/// @domName SVGClipPathElement
class SVGClipPathElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGClipPathElement" {
+ factory SVGClipPathElement() => _SvgElements.createSVGClipPathElement();
+
/** @domName SVGClipPathElement.clipPathUnits */
final SVGAnimatedEnumeration clipPathUnits;
@@ -934,6 +950,8 @@
/// @domName SVGCursorElement
class SVGCursorElement extends SVGElement implements SVGURIReference, SVGTests, SVGExternalResourcesRequired native "*SVGCursorElement" {
+ factory SVGCursorElement() => _SvgElements.createSVGCursorElement();
+
/** @domName SVGCursorElement.x */
final SVGAnimatedLength x;
@@ -972,6 +990,8 @@
/// @domName SVGDefsElement
class SVGDefsElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGDefsElement" {
+ factory SVGDefsElement() => _SvgElements.createSVGDefsElement();
+
// From SVGExternalResourcesRequired
/** @domName SVGExternalResourcesRequired.externalResourcesRequired */
@@ -1043,6 +1063,8 @@
/// @domName SVGDescElement
class SVGDescElement extends SVGElement implements SVGLangSpace, SVGStylable native "*SVGDescElement" {
+ factory SVGDescElement() => _SvgElements.createSVGDescElement();
+
// From SVGLangSpace
/** @domName SVGLangSpace.xmllang */
@@ -1297,6 +1319,8 @@
/// @domName SVGEllipseElement
class SVGEllipseElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGEllipseElement" {
+ factory SVGEllipseElement() => _SvgElements.createSVGEllipseElement();
+
/** @domName SVGEllipseElement.cx */
final SVGAnimatedLength cx;
@@ -2422,6 +2446,8 @@
/// @domName SVGFilterElement
class SVGFilterElement extends SVGElement implements SVGURIReference, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable native "*SVGFilterElement" {
+ factory SVGFilterElement() => _SvgElements.createSVGFilterElement();
+
/** @domName SVGFilterElement.filterResX */
final SVGAnimatedInteger filterResX;
@@ -2524,6 +2550,8 @@
/// @domName SVGFontElement
class SVGFontElement extends SVGElement native "*SVGFontElement" {
+
+ factory SVGFontElement() => _SvgElements.createSVGFontElement();
}
// 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
@@ -2532,6 +2560,8 @@
/// @domName SVGFontFaceElement
class SVGFontFaceElement extends SVGElement native "*SVGFontFaceElement" {
+
+ factory SVGFontFaceElement() => _SvgElements.createSVGFontFaceElement();
}
// 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
@@ -2540,6 +2570,8 @@
/// @domName SVGFontFaceFormatElement
class SVGFontFaceFormatElement extends SVGElement native "*SVGFontFaceFormatElement" {
+
+ factory SVGFontFaceFormatElement() => _SvgElements.createSVGFontFaceFormatElement();
}
// 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
@@ -2548,6 +2580,8 @@
/// @domName SVGFontFaceNameElement
class SVGFontFaceNameElement extends SVGElement native "*SVGFontFaceNameElement" {
+
+ factory SVGFontFaceNameElement() => _SvgElements.createSVGFontFaceNameElement();
}
// 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
@@ -2556,6 +2590,8 @@
/// @domName SVGFontFaceSrcElement
class SVGFontFaceSrcElement extends SVGElement native "*SVGFontFaceSrcElement" {
+
+ factory SVGFontFaceSrcElement() => _SvgElements.createSVGFontFaceSrcElement();
}
// 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
@@ -2564,6 +2600,8 @@
/// @domName SVGFontFaceUriElement
class SVGFontFaceUriElement extends SVGElement native "*SVGFontFaceUriElement" {
+
+ factory SVGFontFaceUriElement() => _SvgElements.createSVGFontFaceUriElement();
}
// 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
@@ -2573,6 +2611,8 @@
/// @domName SVGForeignObjectElement
class SVGForeignObjectElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGForeignObjectElement" {
+ factory SVGForeignObjectElement() => _SvgElements.createSVGForeignObjectElement();
+
/** @domName SVGForeignObjectElement.height */
final SVGAnimatedLength height;
@@ -2656,6 +2696,8 @@
/// @domName SVGGElement
class SVGGElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGGElement" {
+ factory SVGGElement() => _SvgElements.createSVGGElement();
+
// From SVGExternalResourcesRequired
/** @domName SVGExternalResourcesRequired.externalResourcesRequired */
@@ -2726,6 +2768,8 @@
/// @domName SVGGlyphElement
class SVGGlyphElement extends SVGElement native "*SVGGlyphElement" {
+
+ factory SVGGlyphElement() => _SvgElements.createSVGGlyphElement();
}
// 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
@@ -2822,6 +2866,8 @@
/// @domName SVGHKernElement
class SVGHKernElement extends SVGElement native "*SVGHKernElement" {
+
+ factory SVGHKernElement() => _SvgElements.createSVGHKernElement();
}
// 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
@@ -2831,6 +2877,8 @@
/// @domName SVGImageElement
class SVGImageElement extends SVGElement implements SVGLangSpace, SVGTests, SVGStylable, SVGURIReference, SVGExternalResourcesRequired, SVGTransformable native "*SVGImageElement" {
+ factory SVGImageElement() => _SvgElements.createSVGImageElement();
+
/** @domName SVGImageElement.height */
final SVGAnimatedLength height;
@@ -3097,6 +3145,8 @@
/// @domName SVGLineElement
class SVGLineElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGLineElement" {
+ factory SVGLineElement() => _SvgElements.createSVGLineElement();
+
/** @domName SVGLineElement.x1 */
final SVGAnimatedLength x1;
@@ -3180,6 +3230,8 @@
/// @domName SVGLinearGradientElement
class SVGLinearGradientElement extends SVGGradientElement native "*SVGLinearGradientElement" {
+ factory SVGLinearGradientElement() => _SvgElements.createSVGLinearGradientElement();
+
/** @domName SVGLinearGradientElement.x1 */
final SVGAnimatedLength x1;
@@ -3224,6 +3276,8 @@
/// @domName SVGMPathElement
class SVGMPathElement extends SVGElement implements SVGURIReference, SVGExternalResourcesRequired native "*SVGMPathElement" {
+ factory SVGMPathElement() => _SvgElements.createSVGMPathElement();
+
// From SVGExternalResourcesRequired
/** @domName SVGExternalResourcesRequired.externalResourcesRequired */
@@ -3242,6 +3296,8 @@
/// @domName SVGMarkerElement
class SVGMarkerElement extends SVGElement implements SVGLangSpace, SVGFitToViewBox, SVGExternalResourcesRequired, SVGStylable native "*SVGMarkerElement" {
+ factory SVGMarkerElement() => _SvgElements.createSVGMarkerElement();
+
static const int SVG_MARKERUNITS_STROKEWIDTH = 2;
static const int SVG_MARKERUNITS_UNKNOWN = 0;
@@ -3321,6 +3377,8 @@
/// @domName SVGMaskElement
class SVGMaskElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGExternalResourcesRequired native "*SVGMaskElement" {
+ factory SVGMaskElement() => _SvgElements.createSVGMaskElement();
+
/** @domName SVGMaskElement.height */
final SVGAnimatedLength height;
@@ -3626,6 +3684,8 @@
/// @domName SVGPathElement
class SVGPathElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGPathElement" {
+ factory SVGPathElement() => _SvgElements.createSVGPathElement();
+
/** @domName SVGPathElement.animatedNormalizedPathSegList */
final SVGPathSegList animatedNormalizedPathSegList;
@@ -4273,6 +4333,8 @@
/// @domName SVGPatternElement
class SVGPatternElement extends SVGElement implements SVGLangSpace, SVGTests, SVGStylable, SVGURIReference, SVGFitToViewBox, SVGExternalResourcesRequired native "*SVGPatternElement" {
+ factory SVGPatternElement() => _SvgElements.createSVGPatternElement();
+
/** @domName SVGPatternElement.height */
final SVGAnimatedLength height;
@@ -4402,6 +4464,8 @@
/// @domName SVGPolygonElement
class SVGPolygonElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGPolygonElement" {
+ factory SVGPolygonElement() => _SvgElements.createSVGPolygonElement();
+
/** @domName SVGPolygonElement.animatedPoints */
final SVGPointList animatedPoints;
@@ -4479,6 +4543,8 @@
/// @domName SVGPolylineElement
class SVGPolylineElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGPolylineElement" {
+ factory SVGPolylineElement() => _SvgElements.createSVGPolylineElement();
+
/** @domName SVGPolylineElement.animatedPoints */
final SVGPointList animatedPoints;
@@ -4598,6 +4664,8 @@
/// @domName SVGRadialGradientElement
class SVGRadialGradientElement extends SVGGradientElement native "*SVGRadialGradientElement" {
+ factory SVGRadialGradientElement() => _SvgElements.createSVGRadialGradientElement();
+
/** @domName SVGRadialGradientElement.cx */
final SVGAnimatedLength cx;
@@ -4644,6 +4712,8 @@
/// @domName SVGRectElement
class SVGRectElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGRectElement" {
+ factory SVGRectElement() => _SvgElements.createSVGRectElement();
+
/** @domName SVGRectElement.height */
final SVGAnimatedLength height;
@@ -4948,6 +5018,8 @@
/// @domName SVGScriptElement
class SVGScriptElement extends SVGElement implements SVGURIReference, SVGExternalResourcesRequired native "*SVGScriptElement" {
+ factory SVGScriptElement() => _SvgElements.createSVGScriptElement();
+
/** @domName SVGScriptElement.type */
String type;
@@ -4968,6 +5040,8 @@
/// @domName SVGSetElement
class SVGSetElement extends SVGAnimationElement native "*SVGSetElement" {
+
+ factory SVGSetElement() => _SvgElements.createSVGSetElement();
}
// 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
@@ -4977,6 +5051,8 @@
/// @domName SVGStopElement
class SVGStopElement extends SVGElement implements SVGStylable native "*SVGStopElement" {
+ factory SVGStopElement() => _SvgElements.createSVGStopElement();
+
/** @domName SVGStopElement.offset */
final SVGAnimatedNumber offset;
@@ -5129,6 +5205,8 @@
/// @domName SVGStyleElement
class SVGStyleElement extends SVGElement implements SVGLangSpace native "*SVGStyleElement" {
+ factory SVGStyleElement() => _SvgElements.createSVGStyleElement();
+
/** @domName SVGStyleElement.disabled */
bool disabled;
@@ -5163,6 +5241,8 @@
/// @domName SVGSwitchElement
class SVGSwitchElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGSwitchElement" {
+ factory SVGSwitchElement() => _SvgElements.createSVGSwitchElement();
+
// From SVGExternalResourcesRequired
/** @domName SVGExternalResourcesRequired.externalResourcesRequired */
@@ -5234,6 +5314,8 @@
/// @domName SVGSymbolElement
class SVGSymbolElement extends SVGElement implements SVGLangSpace, SVGFitToViewBox, SVGExternalResourcesRequired, SVGStylable native "*SVGSymbolElement" {
+ factory SVGSymbolElement() => _SvgElements.createSVGSymbolElement();
+
// From SVGExternalResourcesRequired
/** @domName SVGExternalResourcesRequired.externalResourcesRequired */
@@ -5274,6 +5356,8 @@
/// @domName SVGTRefElement
class SVGTRefElement extends SVGTextPositioningElement implements SVGURIReference native "*SVGTRefElement" {
+ factory SVGTRefElement() => _SvgElements.createSVGTRefElement();
+
// From SVGURIReference
/** @domName SVGURIReference.href */
@@ -5286,6 +5370,8 @@
/// @domName SVGTSpanElement
class SVGTSpanElement extends SVGTextPositioningElement native "*SVGTSpanElement" {
+
+ factory SVGTSpanElement() => _SvgElements.createSVGTSpanElement();
}
// 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
@@ -5397,6 +5483,8 @@
/// @domName SVGTextElement
class SVGTextElement extends SVGTextPositioningElement implements SVGTransformable native "*SVGTextElement" {
+ factory SVGTextElement() => _SvgElements.createSVGTextElement();
+
// From SVGLocatable
/** @domName SVGLocatable.farthestViewportElement */
@@ -5487,6 +5575,8 @@
/// @domName SVGTitleElement
class SVGTitleElement extends SVGElement implements SVGLangSpace, SVGStylable native "*SVGTitleElement" {
+ factory SVGTitleElement() => _SvgElements.createSVGTitleElement();
+
// From SVGLangSpace
/** @domName SVGLangSpace.xmllang */
@@ -5736,6 +5826,8 @@
/// @domName SVGUseElement
class SVGUseElement extends SVGElement implements SVGLangSpace, SVGTests, SVGStylable, SVGURIReference, SVGExternalResourcesRequired, SVGTransformable native "*SVGUseElement" {
+ factory SVGUseElement() => _SvgElements.createSVGUseElement();
+
/** @domName SVGUseElement.animatedInstanceRoot */
final SVGElementInstance animatedInstanceRoot;
@@ -5829,6 +5921,8 @@
/// @domName SVGVKernElement
class SVGVKernElement extends SVGElement native "*SVGVKernElement" {
+
+ factory SVGVKernElement() => _SvgElements.createSVGVKernElement();
}
// 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
@@ -5838,6 +5932,8 @@
/// @domName SVGViewElement
class SVGViewElement extends SVGElement implements SVGFitToViewBox, SVGZoomAndPan, SVGExternalResourcesRequired native "*SVGViewElement" {
+ factory SVGViewElement() => _SvgElements.createSVGViewElement();
+
/** @domName SVGViewElement.viewTarget */
final SVGStringList viewTarget;
@@ -6030,3 +6126,298 @@
/** @domName SVGElementInstanceList.item */
SVGElementInstance 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.
+
+
+class _SvgElements {
+
+ static SVGAElement createSVGAElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "a");
+ return _e;
+ }
+
+ static SVGAnimationElement createSVGAnimationElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "animation");
+ return _e;
+ }
+
+ static SVGAnimateColorElement createSVGAnimateColorElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "animateColor");
+ return _e;
+ }
+
+ static SVGAnimateElement createSVGAnimateElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "animate");
+ return _e;
+ }
+
+ static SVGAnimateMotionElement createSVGAnimateMotionElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "animateMotion");
+ return _e;
+ }
+
+ static SVGAnimateTransformElement createSVGAnimateTransformElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "animateTransform");
+ return _e;
+ }
+
+ static SVGCircleElement createSVGCircleElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "circle");
+ return _e;
+ }
+
+ static SVGClipPathElement createSVGClipPathElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "clipPath");
+ return _e;
+ }
+
+ static SVGCursorElement createSVGCursorElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "cursor");
+ return _e;
+ }
+
+ static SVGDefsElement createSVGDefsElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "defs");
+ return _e;
+ }
+
+ static SVGDescElement createSVGDescElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "desc");
+ return _e;
+ }
+
+ static SVGEllipseElement createSVGEllipseElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "ellipse");
+ return _e;
+ }
+
+ static SVGFilterElement createSVGFilterElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "filter");
+ return _e;
+ }
+
+ static SVGFontElement createSVGFontElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "font");
+ return _e;
+ }
+
+ static SVGFontFaceElement createSVGFontFaceElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "font-face");
+ return _e;
+ }
+
+ static SVGFontFaceFormatElement createSVGFontFaceFormatElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "font-face-format");
+ return _e;
+ }
+
+ static SVGFontFaceNameElement createSVGFontFaceNameElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "font-face-name");
+ return _e;
+ }
+
+ static SVGFontFaceSrcElement createSVGFontFaceSrcElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "font-face-src");
+ return _e;
+ }
+
+ static SVGFontFaceUriElement createSVGFontFaceUriElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "font-face-uri");
+ return _e;
+ }
+
+ static SVGForeignObjectElement createSVGForeignObjectElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "foreignObject");
+ return _e;
+ }
+
+ static SVGGElement createSVGGElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "g");
+ return _e;
+ }
+
+ static SVGGlyphElement createSVGGlyphElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "glyph");
+ return _e;
+ }
+
+ static SVGHKernElement createSVGHKernElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "hkern");
+ return _e;
+ }
+
+ static SVGImageElement createSVGImageElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "image");
+ return _e;
+ }
+
+ static SVGLineElement createSVGLineElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "line");
+ return _e;
+ }
+
+ static SVGLinearGradientElement createSVGLinearGradientElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "linearGradient");
+ return _e;
+ }
+
+ static SVGMPathElement createSVGMPathElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "mpath");
+ return _e;
+ }
+
+ static SVGMarkerElement createSVGMarkerElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "marker");
+ return _e;
+ }
+
+ static SVGMaskElement createSVGMaskElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "mask");
+ return _e;
+ }
+
+ static SVGPathElement createSVGPathElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "path");
+ return _e;
+ }
+
+ static SVGPatternElement createSVGPatternElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "pattern");
+ return _e;
+ }
+
+ static SVGPolygonElement createSVGPolygonElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "polygon");
+ return _e;
+ }
+
+ static SVGPolylineElement createSVGPolylineElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "polyline");
+ return _e;
+ }
+
+ static SVGRadialGradientElement createSVGRadialGradientElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "radialGradient");
+ return _e;
+ }
+
+ static SVGRectElement createSVGRectElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "rect");
+ return _e;
+ }
+
+ static SVGScriptElement createSVGScriptElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "script");
+ return _e;
+ }
+
+ static SVGSetElement createSVGSetElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "set");
+ return _e;
+ }
+
+ static SVGStopElement createSVGStopElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "stop");
+ return _e;
+ }
+
+ static SVGStyleElement createSVGStyleElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "style");
+ return _e;
+ }
+
+ static SVGSwitchElement createSVGSwitchElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "switch");
+ return _e;
+ }
+
+ static SVGSymbolElement createSVGSymbolElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "symbol");
+ return _e;
+ }
+
+ static SVGTRefElement createSVGTRefElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "tref");
+ return _e;
+ }
+
+ static SVGTSpanElement createSVGTSpanElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "tspan");
+ return _e;
+ }
+
+ static SVGTextElement createSVGTextElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "text");
+ return _e;
+ }
+
+ static SVGTitleElement createSVGTitleElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "title");
+ return _e;
+ }
+
+ static SVGUseElement createSVGUseElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "use");
+ return _e;
+ }
+
+ static SVGVKernElement createSVGVKernElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "vkern");
+ return _e;
+ }
+
+ static SVGViewElement createSVGViewElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "view");
+ return _e;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698