Index: sdk/lib/html/html_common/filtered_element_list.dart |
diff --git a/sdk/lib/html/html_common/filtered_element_list.dart b/sdk/lib/html/html_common/filtered_element_list.dart |
index 264472070b6cf7cd6b0ac9252dc493ff4a66577c..f85814b382e10b2e6d7dcd4b0fd2d9c8688c1dd2 100644 |
--- a/sdk/lib/html/html_common/filtered_element_list.dart |
+++ b/sdk/lib/html/html_common/filtered_element_list.dart |
@@ -105,6 +105,10 @@ class FilteredElementList implements List { |
Iterable<Element> where(bool f(Element element)) => _filtered.where(f); |
Iterable expand(Iterable f(Element element)) => _filtered.expand(f); |
+ void insert(int index, Element value) { |
+ _childNodes.insert(index, value); |
+ } |
+ |
Element removeAt(int index) { |
final result = this[index]; |
result.remove(); |