Index: tools/dom/templates/html/impl/impl_HTMLSelectElement.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_HTMLSelectElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLSelectElement.darttemplate |
index 2f1b90a7d916a40647a68baabbd0d98c95be0e1f..4099cd1e71df83f9914c4105824ee4c52e935cc5 100644 |
--- a/tools/dom/templates/html/impl/impl_HTMLSelectElement.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_HTMLSelectElement.darttemplate |
@@ -10,7 +10,8 @@ $!MEMBERS |
// Override default options, since IE returns SelectElement itself and it |
// does not operate as a List. |
List<OptionElement> get options { |
- var options = this.children.where((e) => e is OptionElement).toList(); |
+ var options = |
+ this.queryAll('option').where((e) => e is OptionElement).toList(); |
return new UnmodifiableListView(options); |
} |