Chromium Code Reviews| 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 64326a47df1a2ba87de7b9b046f41bb7f886f5a7..c44ad567ad77dcd8d546818ff4be72c15f0db6bb 100644 |
| --- a/sdk/lib/html/html_common/filtered_element_list.dart |
| +++ b/sdk/lib/html/html_common/filtered_element_list.dart |
| @@ -8,7 +8,8 @@ part of html_common; |
| * An indexable collection of a node's descendants in the document tree, |
| * filtered so that only elements are in the collection. |
| */ |
| -class FilteredElementList<T extends Element> extends ListBase<T> { |
| +class FilteredElementList<T extends Element> extends ListBase<T> |
| + implements NodeListWrapper{ |
| final Node _node; |
| final List<Node> _childNodes; |
| @@ -131,4 +132,6 @@ class FilteredElementList<T extends Element> extends ListBase<T> { |
| int get length => _filtered.length; |
| Element operator [](int index) => _filtered[index]; |
| Iterator<Element> get iterator => _filtered.iterator; |
| + |
| + List<Node> get rawList => _node.childNodes; |
|
justinfagnani
2013/10/26 20:29:50
could this just be => _childNodes ?
|
| } |