зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1780455 - Fix an assertion to account for imagemap hacks. r=jwatt
I tried to add a crashtest without the video attachment and so on but that didn't quite make it. Differential Revision: https://phabricator.services.mozilla.com/D152374
This commit is contained in:
Родитель
f52f8bd235
Коммит
bf56ce8562
|
@ -3015,7 +3015,8 @@ static void AssertNoFramesOrStyleDataInDescendants(Element& aElement) {
|
||||||
if (c == &aElement) {
|
if (c == &aElement) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
MOZ_ASSERT(!c->GetPrimaryFrame());
|
// FIXME(emilio): The <area> check is needed because of bug 135040.
|
||||||
|
MOZ_ASSERT(!c->GetPrimaryFrame() || c->IsHTMLElement(nsGkAtoms::area));
|
||||||
MOZ_ASSERT(!c->IsElement() || !c->AsElement()->HasServoData());
|
MOZ_ASSERT(!c->IsElement() || !c->AsElement()->HasServoData());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче