Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
This commit is contained in:
@@ -1885,7 +1885,7 @@ HTMLInputElement::GetList() const
|
||||
}
|
||||
|
||||
Element* element = doc->GetElementById(dataListId);
|
||||
if (!element || !element->IsHTML(nsGkAtoms::datalist)) {
|
||||
if (!element || !element->IsHTMLElement(nsGkAtoms::datalist)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user