Index: sdk/lib/svg/dart2js/svg_dart2js.dart |
diff --git a/sdk/lib/svg/dart2js/svg_dart2js.dart b/sdk/lib/svg/dart2js/svg_dart2js.dart |
index ef6935a5314d35df6a1185989893e970b7303f9b..d21f0f9d8e10cafadf0c1249e247f872669ac941 100644 |
--- a/sdk/lib/svg/dart2js/svg_dart2js.dart |
+++ b/sdk/lib/svg/dart2js/svg_dart2js.dart |
@@ -374,6 +374,8 @@ class SVGAnimatedLengthList implements JavaScriptIndexingBehavior, List<SVGAnima |
return _Lists.lastIndexOf(this, element, start); |
} |
+ SVGAnimatedLength get first => this[0]; |
+ |
SVGAnimatedLength get last => this[length - 1]; |
SVGAnimatedLength removeLast() { |
@@ -485,6 +487,8 @@ class SVGAnimatedNumberList implements JavaScriptIndexingBehavior, List<SVGAnima |
return _Lists.lastIndexOf(this, element, start); |
} |
+ SVGAnimatedNumber get first => this[0]; |
+ |
SVGAnimatedNumber get last => this[length - 1]; |
SVGAnimatedNumber removeLast() { |
@@ -624,6 +628,8 @@ class SVGAnimatedTransformList implements JavaScriptIndexingBehavior, List<SVGAn |
return _Lists.lastIndexOf(this, element, start); |
} |
+ SVGAnimateTransformElement get first => this[0]; |
+ |
SVGAnimateTransformElement get last => this[length - 1]; |
SVGAnimateTransformElement removeLast() { |
@@ -3050,6 +3056,8 @@ class SVGLengthList implements JavaScriptIndexingBehavior, List<SVGLength> nativ |
return _Lists.lastIndexOf(this, element, start); |
} |
+ SVGLength get first => this[0]; |
+ |
SVGLength get last => this[length - 1]; |
SVGLength removeLast() { |
@@ -3539,6 +3547,8 @@ class SVGNumberList implements JavaScriptIndexingBehavior, List<SVGNumber> nativ |
return _Lists.lastIndexOf(this, element, start); |
} |
+ SVGNumber get first => this[0]; |
+ |
SVGNumber get last => this[length - 1]; |
SVGNumber removeLast() { |
@@ -4198,6 +4208,8 @@ class SVGPathSegList implements JavaScriptIndexingBehavior, List<SVGPathSeg> nat |
return _Lists.lastIndexOf(this, element, start); |
} |
+ SVGPathSeg get first => this[0]; |
+ |
SVGPathSeg get last => this[length - 1]; |
SVGPathSeg removeLast() { |
@@ -5067,6 +5079,8 @@ class SVGStringList implements JavaScriptIndexingBehavior, List<String> native " |
return _Lists.lastIndexOf(this, element, start); |
} |
+ String get first => this[0]; |
+ |
String get last => this[length - 1]; |
String removeLast() { |
@@ -5631,6 +5645,8 @@ class SVGTransformList implements JavaScriptIndexingBehavior, List<SVGTransform> |
return _Lists.lastIndexOf(this, element, start); |
} |
+ SVGTransform get first => this[0]; |
+ |
SVGTransform get last => this[length - 1]; |
SVGTransform removeLast() { |
@@ -6009,6 +6025,8 @@ class _SVGElementInstanceList implements JavaScriptIndexingBehavior, List<SVGEle |
return _Lists.lastIndexOf(this, element, start); |
} |
+ SVGElementInstance get first => this[0]; |
+ |
SVGElementInstance get last => this[length - 1]; |
SVGElementInstance removeLast() { |