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

Unified Diff: sdk/lib/svg/dartium/svg_dartium.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/dartium/svg_dartium.dart
===================================================================
--- sdk/lib/svg/dartium/svg_dartium.dart (revision 14920)
+++ sdk/lib/svg/dartium/svg_dartium.dart (working copy)
@@ -58,6 +58,8 @@
/// @domName SVGAElement
class SVGAElement extends SVGElement implements SVGLangSpace, SVGTests, SVGStylable, SVGURIReference, SVGExternalResourcesRequired, SVGTransformable {
+
+ factory SVGAElement() => _SvgElements.createSVGAElement();
SVGAElement.internal(): super.internal();
@@ -268,6 +270,8 @@
/// @domName SVGAnimateColorElement
class SVGAnimateColorElement extends SVGAnimationElement {
+
+ factory SVGAnimateColorElement() => _SvgElements.createSVGAnimateColorElement();
SVGAnimateColorElement.internal(): super.internal();
}
@@ -280,6 +284,8 @@
/// @domName SVGAnimateElement
class SVGAnimateElement extends SVGAnimationElement {
+
+ factory SVGAnimateElement() => _SvgElements.createSVGAnimateElement();
SVGAnimateElement.internal(): super.internal();
}
@@ -292,6 +298,8 @@
/// @domName SVGAnimateMotionElement
class SVGAnimateMotionElement extends SVGAnimationElement {
+
+ factory SVGAnimateMotionElement() => _SvgElements.createSVGAnimateMotionElement();
SVGAnimateMotionElement.internal(): super.internal();
}
@@ -304,6 +312,8 @@
/// @domName SVGAnimateTransformElement
class SVGAnimateTransformElement extends SVGAnimationElement {
+
+ factory SVGAnimateTransformElement() => _SvgElements.createSVGAnimateTransformElement();
SVGAnimateTransformElement.internal(): super.internal();
}
@@ -825,6 +835,8 @@
/// @domName SVGAnimationElement
class SVGAnimationElement extends SVGElement implements ElementTimeControl, SVGTests, SVGExternalResourcesRequired {
+
+ factory SVGAnimationElement() => _SvgElements.createSVGAnimationElement();
SVGAnimationElement.internal(): super.internal();
@@ -889,6 +901,8 @@
/// @domName SVGCircleElement
class SVGCircleElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired {
+
+ factory SVGCircleElement() => _SvgElements.createSVGCircleElement();
SVGCircleElement.internal(): super.internal();
@@ -989,6 +1003,8 @@
/// @domName SVGClipPathElement
class SVGClipPathElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired {
+
+ factory SVGClipPathElement() => _SvgElements.createSVGClipPathElement();
SVGClipPathElement.internal(): super.internal();
@@ -1173,6 +1189,8 @@
/// @domName SVGCursorElement
class SVGCursorElement extends SVGElement implements SVGURIReference, SVGTests, SVGExternalResourcesRequired {
+
+ factory SVGCursorElement() => _SvgElements.createSVGCursorElement();
SVGCursorElement.internal(): super.internal();
@@ -1217,6 +1235,8 @@
/// @domName SVGDefsElement
class SVGDefsElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired {
+
+ factory SVGDefsElement() => _SvgElements.createSVGDefsElement();
SVGDefsElement.internal(): super.internal();
@@ -1305,6 +1325,8 @@
/// @domName SVGDescElement
class SVGDescElement extends SVGElement implements SVGLangSpace, SVGStylable {
+
+ factory SVGDescElement() => _SvgElements.createSVGDescElement();
SVGDescElement.internal(): super.internal();
@@ -1597,6 +1619,8 @@
/// @domName SVGEllipseElement
class SVGEllipseElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired {
+
+ factory SVGEllipseElement() => _SvgElements.createSVGEllipseElement();
SVGEllipseElement.internal(): super.internal();
@@ -3011,6 +3035,8 @@
/// @domName SVGFilterElement
class SVGFilterElement extends SVGElement implements SVGURIReference, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable {
+
+ factory SVGFilterElement() => _SvgElements.createSVGFilterElement();
SVGFilterElement.internal(): super.internal();
@@ -3159,6 +3185,8 @@
/// @domName SVGFontElement
class SVGFontElement extends SVGElement {
+
+ factory SVGFontElement() => _SvgElements.createSVGFontElement();
SVGFontElement.internal(): super.internal();
}
@@ -3171,6 +3199,8 @@
/// @domName SVGFontFaceElement
class SVGFontFaceElement extends SVGElement {
+
+ factory SVGFontFaceElement() => _SvgElements.createSVGFontFaceElement();
SVGFontFaceElement.internal(): super.internal();
}
@@ -3183,6 +3213,8 @@
/// @domName SVGFontFaceFormatElement
class SVGFontFaceFormatElement extends SVGElement {
+
+ factory SVGFontFaceFormatElement() => _SvgElements.createSVGFontFaceFormatElement();
SVGFontFaceFormatElement.internal(): super.internal();
}
@@ -3195,6 +3227,8 @@
/// @domName SVGFontFaceNameElement
class SVGFontFaceNameElement extends SVGElement {
+
+ factory SVGFontFaceNameElement() => _SvgElements.createSVGFontFaceNameElement();
SVGFontFaceNameElement.internal(): super.internal();
}
@@ -3207,6 +3241,8 @@
/// @domName SVGFontFaceSrcElement
class SVGFontFaceSrcElement extends SVGElement {
+
+ factory SVGFontFaceSrcElement() => _SvgElements.createSVGFontFaceSrcElement();
SVGFontFaceSrcElement.internal(): super.internal();
}
@@ -3219,6 +3255,8 @@
/// @domName SVGFontFaceUriElement
class SVGFontFaceUriElement extends SVGElement {
+
+ factory SVGFontFaceUriElement() => _SvgElements.createSVGFontFaceUriElement();
SVGFontFaceUriElement.internal(): super.internal();
}
@@ -3231,6 +3269,8 @@
/// @domName SVGForeignObjectElement
class SVGForeignObjectElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired {
+
+ factory SVGForeignObjectElement() => _SvgElements.createSVGForeignObjectElement();
SVGForeignObjectElement.internal(): super.internal();
@@ -3335,6 +3375,8 @@
/// @domName SVGGElement
class SVGGElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired {
+
+ factory SVGGElement() => _SvgElements.createSVGGElement();
SVGGElement.internal(): super.internal();
@@ -3423,6 +3465,8 @@
/// @domName SVGGlyphElement
class SVGGlyphElement extends SVGElement {
+
+ factory SVGGlyphElement() => _SvgElements.createSVGGlyphElement();
SVGGlyphElement.internal(): super.internal();
}
@@ -3563,6 +3607,8 @@
/// @domName SVGHKernElement
class SVGHKernElement extends SVGElement {
+
+ factory SVGHKernElement() => _SvgElements.createSVGHKernElement();
SVGHKernElement.internal(): super.internal();
}
@@ -3575,6 +3621,8 @@
/// @domName SVGImageElement
class SVGImageElement extends SVGElement implements SVGLangSpace, SVGTests, SVGStylable, SVGURIReference, SVGExternalResourcesRequired, SVGTransformable {
+
+ factory SVGImageElement() => _SvgElements.createSVGImageElement();
SVGImageElement.internal(): super.internal();
@@ -3912,6 +3960,8 @@
/// @domName SVGLineElement
class SVGLineElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired {
+
+ factory SVGLineElement() => _SvgElements.createSVGLineElement();
SVGLineElement.internal(): super.internal();
@@ -4016,6 +4066,8 @@
/// @domName SVGLinearGradientElement
class SVGLinearGradientElement extends SVGGradientElement {
+
+ factory SVGLinearGradientElement() => _SvgElements.createSVGLinearGradientElement();
SVGLinearGradientElement.internal(): super.internal();
@@ -4080,6 +4132,8 @@
/// @domName SVGMPathElement
class SVGMPathElement extends SVGElement implements SVGURIReference, SVGExternalResourcesRequired {
+
+ factory SVGMPathElement() => _SvgElements.createSVGMPathElement();
SVGMPathElement.internal(): super.internal();
@@ -4100,6 +4154,8 @@
/// @domName SVGMarkerElement
class SVGMarkerElement extends SVGElement implements SVGLangSpace, SVGFitToViewBox, SVGExternalResourcesRequired, SVGStylable {
+
+ factory SVGMarkerElement() => _SvgElements.createSVGMarkerElement();
SVGMarkerElement.internal(): super.internal();
static const int SVG_MARKERUNITS_STROKEWIDTH = 2;
@@ -4200,6 +4256,8 @@
/// @domName SVGMaskElement
class SVGMaskElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGExternalResourcesRequired {
+
+ factory SVGMaskElement() => _SvgElements.createSVGMaskElement();
SVGMaskElement.internal(): super.internal();
@@ -4607,6 +4665,8 @@
/// @domName SVGPathElement
class SVGPathElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired {
+
+ factory SVGPathElement() => _SvgElements.createSVGPathElement();
SVGPathElement.internal(): super.internal();
@@ -5682,6 +5742,8 @@
/// @domName SVGPatternElement
class SVGPatternElement extends SVGElement implements SVGLangSpace, SVGTests, SVGStylable, SVGURIReference, SVGFitToViewBox, SVGExternalResourcesRequired {
+
+ factory SVGPatternElement() => _SvgElements.createSVGPatternElement();
SVGPatternElement.internal(): super.internal();
@@ -5858,6 +5920,8 @@
/// @domName SVGPolygonElement
class SVGPolygonElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired {
+
+ factory SVGPolygonElement() => _SvgElements.createSVGPolygonElement();
SVGPolygonElement.internal(): super.internal();
@@ -5954,6 +6018,8 @@
/// @domName SVGPolylineElement
class SVGPolylineElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired {
+
+ factory SVGPolylineElement() => _SvgElements.createSVGPolylineElement();
SVGPolylineElement.internal(): super.internal();
@@ -6106,6 +6172,8 @@
/// @domName SVGRadialGradientElement
class SVGRadialGradientElement extends SVGGradientElement {
+
+ factory SVGRadialGradientElement() => _SvgElements.createSVGRadialGradientElement();
SVGRadialGradientElement.internal(): super.internal();
@@ -6186,6 +6254,8 @@
/// @domName SVGRectElement
class SVGRectElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired {
+
+ factory SVGRectElement() => _SvgElements.createSVGRectElement();
SVGRectElement.internal(): super.internal();
@@ -6321,6 +6391,8 @@
class SVGSVGElement extends SVGElement implements SVGZoomAndPan, SVGLocatable, SVGLangSpace, SVGTests, SVGStylable, SVGFitToViewBox, SVGExternalResourcesRequired {
factory SVGSVGElement() => _SVGSVGElementFactoryProvider.createSVGSVGElement();
+
+ factory SVGSVGElement() => _SvgElements.createSVGSVGElement();
SVGSVGElement.internal(): super.internal();
@@ -6585,6 +6657,8 @@
/// @domName SVGScriptElement
class SVGScriptElement extends SVGElement implements SVGURIReference, SVGExternalResourcesRequired {
+
+ factory SVGScriptElement() => _SvgElements.createSVGScriptElement();
SVGScriptElement.internal(): super.internal();
@@ -6613,6 +6687,8 @@
/// @domName SVGSetElement
class SVGSetElement extends SVGAnimationElement {
+
+ factory SVGSetElement() => _SvgElements.createSVGSetElement();
SVGSetElement.internal(): super.internal();
}
@@ -6625,6 +6701,8 @@
/// @domName SVGStopElement
class SVGStopElement extends SVGElement implements SVGStylable {
+
+ factory SVGStopElement() => _SvgElements.createSVGStopElement();
SVGStopElement.internal(): super.internal();
@@ -6804,6 +6882,8 @@
/// @domName SVGStyleElement
class SVGStyleElement extends SVGElement implements SVGLangSpace {
+
+ factory SVGStyleElement() => _SvgElements.createSVGStyleElement();
SVGStyleElement.internal(): super.internal();
@@ -6864,6 +6944,8 @@
/// @domName SVGSwitchElement
class SVGSwitchElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTests, SVGTransformable, SVGExternalResourcesRequired {
+
+ factory SVGSwitchElement() => _SvgElements.createSVGSwitchElement();
SVGSwitchElement.internal(): super.internal();
@@ -6952,6 +7034,8 @@
/// @domName SVGSymbolElement
class SVGSymbolElement extends SVGElement implements SVGLangSpace, SVGFitToViewBox, SVGExternalResourcesRequired, SVGStylable {
+
+ factory SVGSymbolElement() => _SvgElements.createSVGSymbolElement();
SVGSymbolElement.internal(): super.internal();
@@ -7004,6 +7088,8 @@
/// @domName SVGTRefElement
class SVGTRefElement extends SVGTextPositioningElement implements SVGURIReference {
+
+ factory SVGTRefElement() => _SvgElements.createSVGTRefElement();
SVGTRefElement.internal(): super.internal();
@@ -7020,6 +7106,8 @@
/// @domName SVGTSpanElement
class SVGTSpanElement extends SVGTextPositioningElement {
+
+ factory SVGTSpanElement() => _SvgElements.createSVGTSpanElement();
SVGTSpanElement.internal(): super.internal();
}
@@ -7170,6 +7258,8 @@
/// @domName SVGTextElement
class SVGTextElement extends SVGTextPositioningElement implements SVGTransformable {
+
+ factory SVGTextElement() => _SvgElements.createSVGTextElement();
SVGTextElement.internal(): super.internal();
@@ -7282,6 +7372,8 @@
/// @domName SVGTitleElement
class SVGTitleElement extends SVGElement implements SVGLangSpace, SVGStylable {
+
+ factory SVGTitleElement() => _SvgElements.createSVGTitleElement();
SVGTitleElement.internal(): super.internal();
@@ -7593,6 +7685,8 @@
/// @domName SVGUseElement
class SVGUseElement extends SVGElement implements SVGLangSpace, SVGTests, SVGStylable, SVGURIReference, SVGExternalResourcesRequired, SVGTransformable {
+
+ factory SVGUseElement() => _SvgElements.createSVGUseElement();
SVGUseElement.internal(): super.internal();
@@ -7709,6 +7803,8 @@
/// @domName SVGVKernElement
class SVGVKernElement extends SVGElement {
+
+ factory SVGVKernElement() => _SvgElements.createSVGVKernElement();
SVGVKernElement.internal(): super.internal();
}
@@ -7721,6 +7817,8 @@
/// @domName SVGViewElement
class SVGViewElement extends SVGElement implements SVGFitToViewBox, SVGZoomAndPan, SVGExternalResourcesRequired {
+
+ factory SVGViewElement() => _SvgElements.createSVGViewElement();
SVGViewElement.internal(): super.internal();
@@ -7961,3 +8059,304 @@
SVGElementInstance 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.
+
+
+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 SVGSVGElement createSVGSVGElement() {
+ final Element _e =
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", "svg");
+ 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