Closed
Bug 403576
Opened 18 years ago
Closed 18 years ago
[FIX]"ASSERTION: Margins on anonymous fieldset child not supported!" with <fieldset style="display: table-column-group;">
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla1.9beta2
People
(Reporter: jruderman, Assigned: bzbarsky)
References
(Depends on 1 open bug)
Details
(Keywords: assertion, testcase)
Attachments
(2 files)
|
110 bytes,
text/html
|
Details | |
|
5.12 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
Loading the testcase triggers:
###!!! ASSERTION: Bogus availSize.width; should be bigger: '!mContentFrame || GetContentMinWidth(aReflowState.rendContext) <= availSize.width', file /Users/jruderman/trunk/mozilla/layout/forms/nsFieldSetFrame.cpp, line 470
###!!! ASSERTION: width less than zero: 'aContainingBlockWidth >= 0', file /Users/jruderman/trunk/mozilla/layout/base/nsLayoutUtils.cpp, line 1643
###!!! ASSERTION: Margins on anonymous fieldset child not supported!: 'kidReflowState.mComputedMargin == nsMargin(0,0,0,0)', file /Users/jruderman/trunk/mozilla/layout/forms/nsFieldSetFrame.cpp, line 556
The last assertion was added by roc in bug 336153, a few days ago.
This bug might be related to bug 402850.
| Assignee | ||
Comment 1•18 years ago
|
||
(gdb) p kidReflowState.mComputedMargin
$1 = {top = 0, right = -828, bottom = 0, left = 0}
(gdb) p aReflowState.mComputedWidth
$3 = -828
I call bogus right about then!
| Assignee | ||
Comment 2•18 years ago
|
||
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #288453 -
Flags: superreview?(dbaron)
Attachment #288453 -
Flags: review?(dbaron)
| Assignee | ||
Updated•18 years ago
|
Assignee: bzbarsky → nobody
Status: ASSIGNED → NEW
Component: Layout: Form Controls → Layout
OS: Mac OS X → All
QA Contact: layout.form-controls → layout
Hardware: PC → All
Summary: "ASSERTION: Margins on anonymous fieldset child not supported!" with <fieldset style="display: table-column-group;"> → [FIX]"ASSERTION: Margins on anonymous fieldset child not supported!" with <fieldset style="display: table-column-group;">
Target Milestone: --- → mozilla1.9 M10
| Assignee | ||
Updated•18 years ago
|
Assignee: nobody → bzbarsky
Comment on attachment 288453 [details] [diff] [review]
Fix
r+sr=dbaron. Sorry for the long delay here.
(Worth approving; it's just a test to make sure a width doesn't go below zero, plus a bunch of assertions.)
Attachment #288453 -
Flags: superreview?(dbaron)
Attachment #288453 -
Flags: superreview+
Attachment #288453 -
Flags: review?(dbaron)
Attachment #288453 -
Flags: review+
| Assignee | ||
Comment 4•18 years ago
|
||
Comment on attachment 288453 [details] [diff] [review]
Fix
This is just adding some basic safety checks. This should be very safe.
Attachment #288453 -
Flags: approval1.9?
Comment 5•18 years ago
|
||
Comment on attachment 288453 [details] [diff] [review]
Fix
a=beltzner for 1.9
Attachment #288453 -
Flags: approval1.9? → approval1.9+
| Assignee | ||
Comment 6•18 years ago
|
||
Checked in. I checked in the crashtest too.
Status: NEW → RESOLVED
Closed: 18 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•