Closed Bug 1346779 Opened 9 years ago Closed 8 years ago

Assertion failure: !aContent->GetPrimaryFrame() || aState.mCreatingExtraFrames || aContent->NodeInfo()->NameAtom() == nsGkAtoms::area, at nsCSSFrameConstructor.cpp:5730

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1171935
Tracking Status
firefox53 --- affected
firefox54 --- affected
firefox55 --- affected

People

(Reporter: cbook, Unassigned)

References

()

Details

(Keywords: assertion)

Attachments

(1 file)

Attached file bughunter stack
found via bughunter and reproduced on latest m-c tinderbox trunk windows debug build. Steps to reproduce: -> Load http://www.zjks.com/default.aspx --> Site loads for like 30 seconds ----> Assertion failure Assertion failure: !aContent->GetPrimaryFrame() || aState.mCreatingExtraFrames || aContent->NodeInfo()->NameAtom() == nsGkAtoms::area, at c:/builds/moz2_slave/m-cen-w32-d-000000000000000000/build/src/layout/base/nsCSSFrameConstructor.cpp:5730 affects trunk to beta debug builds
Cameron, Boris: could you take a look at this assertion failure, thanks!
Flags: needinfo?(cam)
Flags: needinfo?(bzbarsky)
So this is asserting for an <a> whose parent is a <span> whose parent is a <div> whose parent is a <map>. The primary frame of the <a> is an nsImageFrame. So this is fundamentally the same as the <area> case. We could loosen up the assertion to also allow <a> elements, I guess, or <a> elements that are descendants of <map>....
Flags: needinfo?(bzbarsky)
Or just stop supporting <a> as special inside <map> as in bug 1317937.
Depends on: 1317937
Flags: needinfo?(cam)
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: