Backed out 3 changesets (bug 1850238, bug 1850161) for causing multiple failures at Element.cpp CLOSED TREE

Backed out changeset 30526c800ca7 (bug 1850161)
Backed out changeset ebc81e5e7750 (bug 1850161)
Backed out changeset e66a62c2f8c5 (bug 1850238)
This commit is contained in:
Cristina Horotan
2023-08-31 12:12:05 +03:00
parent 1ef9b30501
commit c37791a4a6
27 changed files with 391 additions and 112 deletions

View File

@@ -649,6 +649,11 @@ void HTMLImageElement::MaybeLoadImage(bool aAlwaysForceLoad) {
}
}
ElementState HTMLImageElement::IntrinsicState() const {
return nsGenericHTMLElement::IntrinsicState() |
nsImageLoadingContent::ImageState();
}
void HTMLImageElement::NodeInfoChanged(Document* aOldDoc) {
nsGenericHTMLElement::NodeInfoChanged(aOldDoc);