nsHTMLDocument::GetElementsByTagName(const nsAString& aTagname, nsIDOMNodeList** aReturn) { nsAutoString tmp(aTagname); ToLowerCase(tmp); return nsDocument::GetElementsByTagName(tmp, aReturn); }
NS_IMETHOD    GetElementsByTagName(const nsString& aTagname, nsIDOMNodeList** aReturn) { return nsDocument::GetElementsByTagName(aTagname, aReturn); }
nsHTMLDocument::GetElementsByTagName(const nsAString& aTagname, nsIDOMNodeList** aReturn){   nsAutoString tmp(aTagname);  ToLowerCase(tmp); // HTML elements are lower case internally.  return nsDocument::GetElementsByTagName(tmp, aReturn); }