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)
Core
Layout
Tracking
()
RESOLVED
DUPLICATE
of bug 1171935
People
(Reporter: cbook, Unassigned)
References
()
Details
(Keywords: assertion)
Attachments
(1 file)
|
120.08 KB,
text/plain
|
Details |
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
| Reporter | ||
Comment 1•9 years ago
|
||
Cameron, Boris: could you take a look at this assertion failure, thanks!
status-firefox53:
--- → affected
status-firefox54:
--- → affected
status-firefox55:
--- → affected
Flags: needinfo?(cam)
Flags: needinfo?(bzbarsky)
Comment 2•9 years ago
|
||
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)
Comment 3•9 years ago
|
||
Or just stop supporting <a> as special inside <map> as in bug 1317937.
Depends on: 1317937
Updated•9 years ago
|
Flags: needinfo?(cam)
Updated•8 years ago
|
Priority: -- → P3
Updated•8 years ago
|
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.
Description
•