Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
This commit is contained in:
@@ -386,7 +386,7 @@ HTMLMenuItemElement::AfterSetAttr(int32_t aNameSpaceID, nsIAtom* aName,
|
||||
if ((aName == nsGkAtoms::radiogroup || aName == nsGkAtoms::type) &&
|
||||
mType == CMD_TYPE_RADIO &&
|
||||
!mParserCreating) {
|
||||
if (IsInDoc() && GetParent()) {
|
||||
if (IsInUncomposedDoc() && GetParent()) {
|
||||
AddedToRadioGroup();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user