diff --git a/layout/base/PresShell.cpp b/layout/base/PresShell.cpp index 021a633add9e..37fdc381c256 100644 --- a/layout/base/PresShell.cpp +++ b/layout/base/PresShell.cpp @@ -3015,7 +3015,8 @@ static void AssertNoFramesOrStyleDataInDescendants(Element& aElement) { if (c == &aElement) { continue; } - MOZ_ASSERT(!c->GetPrimaryFrame()); + // FIXME(emilio): The check is needed because of bug 135040. + MOZ_ASSERT(!c->GetPrimaryFrame() || c->IsHTMLElement(nsGkAtoms::area)); MOZ_ASSERT(!c->IsElement() || !c->AsElement()->HasServoData()); } }