Bug 1330051; Reparse style attribute when adopting across style backends; r=bz

MozReview-Commit-ID: LWN57KApiMu
This commit is contained in:
Manish Goregaokar
2017-03-24 15:28:19 -07:00
parent 7dd5dae955
commit cbde7ac997
12 changed files with 62 additions and 10 deletions

View File

@@ -712,6 +712,7 @@ HTMLImageElement::IntrinsicState() const
void
HTMLImageElement::NodeInfoChanged(nsIDocument* aOldDoc)
{
nsGenericHTMLElement::NodeInfoChanged(aOldDoc);
// Resetting the last selected source if adoption steps are run.
mLastSelectedSource = nullptr;
}