Bug 1317901 - Ensure image loads don't short-circuit if element's adopting steps are run; r=jdm
MozReview-Commit-ID: Cbg3EHtyL8f
This commit is contained in:
@@ -710,6 +710,13 @@ HTMLImageElement::IntrinsicState() const
|
||||
nsImageLoadingContent::ImageState();
|
||||
}
|
||||
|
||||
void
|
||||
HTMLImageElement::NodeInfoChanged()
|
||||
{
|
||||
// Resetting the last selected source if adoption steps are run.
|
||||
mLastSelectedSource = nullptr;
|
||||
}
|
||||
|
||||
// static
|
||||
already_AddRefed<HTMLImageElement>
|
||||
HTMLImageElement::Image(const GlobalObject& aGlobal,
|
||||
|
||||
Reference in New Issue
Block a user