Index: lib/html/dartium/html_dartium.dart |
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart |
index 0c768e476daeb4f67e7ea766ea172c18b546d647..d645af3622a47d8b25ed9309002f724d3a29104f 100644 |
--- a/lib/html/dartium/html_dartium.dart |
+++ b/lib/html/dartium/html_dartium.dart |
@@ -5987,7 +5987,7 @@ class _DocumentFragmentImpl extends _NodeImpl implements DocumentFragment { |
_ElementImpl query(String selectors) => $dom_querySelector(selectors); |
- ElementList queryAll(String selectors) => |
+ List<Element> queryAll(String selectors) => |
new _FrozenElementList._wrap($dom_querySelectorAll(selectors)); |
String get innerHTML() { |
@@ -6423,7 +6423,7 @@ class _DocumentImpl extends _NodeImpl implements Document |
return $dom_querySelector(selectors); |
} |
- ElementList queryAll(String selectors) { |
+ List<Element> queryAll(String selectors) { |
if (const RegExp("""^\\[name=["'][^'"]+['"]\\]\$""").hasMatch(selectors)) { |
final mutableMatches = $dom_getElementsByName( |
selectors.substring(7,selectors.length - 2)); |
@@ -7280,7 +7280,7 @@ class _ElementImpl extends _NodeImpl implements Element { |
_ElementImpl query(String selectors) => $dom_querySelector(selectors); |
- ElementList queryAll(String selectors) => |
+ List<Element> queryAll(String selectors) => |
new _FrozenElementList._wrap($dom_querySelectorAll(selectors)); |
_CssClassSet get classes() => new _CssClassSet(this); |
@@ -26975,7 +26975,11 @@ interface EXTTextureFilterAnisotropic { |
// WARNING: Do not edit - generated code. |
-interface ElementList extends List<Element> { |
+// TODO(vsm): Eliminate this type. |
+ |
+// Note, ElementList implements List so that it's implementing classes |
+// may be cast to List<? extends Element> - e.g., List<CanvasElement>. |
+interface ElementList extends List { |
// TODO(jacobr): add element batch manipulation methods. |
ElementList filter(bool f(Element element)); |
@@ -27010,7 +27014,7 @@ interface ElementRect { |
interface NodeSelector { |
Element query(String selectors); |
- NodeList queryAll(String selectors); |
+ List<Element> queryAll(String selectors); |
} |
/// @domName Element |