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:
@@ -94,8 +94,7 @@ IsInFallbackContent(nsIContent* aContent)
|
||||
{
|
||||
nsINode* parentNode = aContent->GetParentNode();
|
||||
while (parentNode) {
|
||||
if (parentNode->IsElement() &&
|
||||
parentNode->AsElement()->IsHTML(nsGkAtoms::content)) {
|
||||
if (parentNode->IsHTMLElement(nsGkAtoms::content)) {
|
||||
return true;
|
||||
}
|
||||
parentNode = parentNode->GetParentNode();
|
||||
|
||||
Reference in New Issue
Block a user