Bug 1134280 - Get rid of Tag() - patch 2.8 - dom/html - Fix all the occurrences, m=smaug, r=surkov
This commit is contained in:
@@ -361,7 +361,7 @@ HTMLOptionElement::GetSelect()
|
||||
if (select) {
|
||||
return select;
|
||||
}
|
||||
if (parent->Tag() != nsGkAtoms::optgroup) {
|
||||
if (!parent->IsHTMLElement(nsGkAtoms::optgroup)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user