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 0ef1e4a9c3db327724b62d818e8cead15503b457..c3ddd808f43b7a93b8b4aedb9a1682c63999f349 100644 |
--- a/sdk/lib/svg/dart2js/svg_dart2js.dart |
+++ b/sdk/lib/svg/dart2js/svg_dart2js.dart |
@@ -6941,6 +6941,10 @@ class _ElementInstanceList extends Interceptor with ListMixin<ElementInstance>, |
// To suppress missing implicit constructor warnings. |
factory _ElementInstanceList._() { throw new UnsupportedError("Not supported"); } |
+ @DomName('SVGElementInstanceList.length') |
+ @DocsEditable() |
+ int get length => JS("int", "#.length", this); |
+ |
ElementInstance operator[](int index) { |
if (JS("bool", "# >>> 0 !== # || # >= #", index, |
index, index, length)) |