diff --git a/dom.d b/dom.d index 10f527a..dc7fc39 100644 --- a/dom.d +++ b/dom.d @@ -4479,6 +4479,11 @@ class Document : FileResource { return root.getElementsByTagName(tag); } + /// ditto + Element[] getElementsByClassName(string tag) { + return root.getElementsByClassName(tag); + } + /** FIXME: btw, this could just be a lazy range...... */ Element getFirstElementByTagName(string tag) { if(loose)