Index: lib/dom/templates/html/frog/html_frog.darttemplate |
diff --git a/lib/dom/templates/html/frog/html_frog.darttemplate b/lib/dom/templates/html/frog/html_frog.darttemplate |
index 64f02ff23e8ce19babb2616b58bf22f5d60910eb..9ae4c57759a06efa88ec54a03c9fdf68314adc63 100644 |
--- a/lib/dom/templates/html/frog/html_frog.darttemplate |
+++ b/lib/dom/templates/html/frog/html_frog.darttemplate |
@@ -36,6 +36,9 @@ Document get document() native "return document;"; |
_DocumentImpl get _document() native "return document;"; |
+Element query(String selector) => _document.query(selector); |
+ElementList queryAll(String selector) => _document.queryAll(selector); |
+ |
// Workaround for tags like <cite> that lack their own Element subclass -- |
// Dart issue 1990. |
class _HTMLElementImpl extends _ElementImpl native "*HTMLElement" { |