Bug 903372 - Removal of xml:base. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D8965
This commit is contained in:
@@ -109,8 +109,8 @@ HTMLAreaElement::BindToTree(nsIDocument* aDocument, nsIContent* aParent,
|
||||
void
|
||||
HTMLAreaElement::UnbindFromTree(bool aDeep, bool aNullParent)
|
||||
{
|
||||
// If this link is ever reinserted into a document, it might
|
||||
// be under a different xml:base, so forget the cached state now.
|
||||
// Without removing the link state we risk a dangling pointer
|
||||
// in the mStyledLinks hashtable
|
||||
Link::ResetLinkState(false, Link::ElementHasHref());
|
||||
|
||||
nsGenericHTMLElement::UnbindFromTree(aDeep, aNullParent);
|
||||
|
||||
Reference in New Issue
Block a user