Closed
Bug 322689
Opened 19 years ago
Closed 17 years ago
ASSERTION: Wrapping frame should be block-level: 'aLastRS->frame->GetStyl
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: martijn.martijn, Unassigned)
References
Details
(Keywords: assertion, testcase)
Attachments
(2 files)
280 bytes,
text/html
|
Details | |
1.49 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
dbaron
:
approval1.9+
|
Details | Diff | Splinter Review |
See upcoming testcase, Mozilla gives an assertion when loading the testcase: ###!!! ASSERTION: Wrapping frame should be block-level: 'aLastRS->frame->GetStyl eDisplay()->IsBlockLevel()', file c:/mozilla/mozilla/layout/generic/nsBlockFrame .cpp, line 610
Reporter | ||
Comment 1•19 years ago
|
||
Comment 3•19 years ago
|
||
Er... no. I was testing the wrong thing. Ignore comment 2.
No longer depends on: 322348
Comment 4•19 years ago
|
||
This assert was introduced in bug 294934. It seems to me that we want the "looks like a block from the inside" test here (the one we don't have yet).
Comment 5•17 years ago
|
||
Still happens on trunk.
Comment 6•17 years ago
|
||
So the parent frame in this case is an nsHTMLButtonControlFrame. I think this assert is basically bogus: all sorts of non-block things can contain a blockframe.
Reporter | ||
Comment 7•17 years ago
|
||
So the assertion can be removed? Or you want a better assertion like you mentioned in comment 4?
Attachment #275485 -
Flags: review?(bzbarsky)
Comment 8•17 years ago
|
||
Comment on attachment 275485 [details] [diff] [review] patch? Yeah, I think this is the best we can do.
Attachment #275485 -
Flags: superreview+
Attachment #275485 -
Flags: review?(bzbarsky)
Attachment #275485 -
Flags: review+
Reporter | ||
Comment 9•17 years ago
|
||
Comment on attachment 275485 [details] [diff] [review] patch? Removal of a useless assertion.
Attachment #275485 -
Flags: approval1.9?
Comment on attachment 275485 [details] [diff] [review] patch? a1.9=dbaron
Attachment #275485 -
Flags: approval1.9? → approval1.9+
Reporter | ||
Comment 11•17 years ago
|
||
Checking in nsBlockFrame.cpp; /cvsroot/mozilla/layout/generic/nsBlockFrame.cpp,v <-- nsBlockFrame.cpp new revision: 3.856; previous revision: 3.855 done Checked in.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•