Closed Bug 363882 Opened 18 years ago Closed 18 years ago

[reflow branch] "Bogus availSize.width" assertion in nsFieldSetFrame

Categories

(Core :: Layout, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bzbarsky, Unassigned)

References

Details

(Keywords: assertion, testcase)

BUILD: Current trunk build

STEPS TO REPRODUCE:

1) cvs co mozilla/testing
2) Change the path to firefox-bin in runtests.pl to point to your build.
3) Run runtests.pl.
4) Wait until you get to test_bug337124.html

ACTUAL RESULTS:

###!!! ASSERTION: Bogus availSize.width; should be bigger: '!mContentFrame || GetContentMinWidth(aReflowState.rendContext) <= availSize.width', file ../../../mozilla/layout/forms/nsFieldSetFrame.cpp, line 475

nsFieldSetFrame::Reflow (this=0x3a966e10, aPresContext=0x3b91b040, aDesiredSize=@0xbfff4da8, aReflowState=@0xbfff4cfc, aStatus=@0xbfff4edc) at ../../../mozilla/layout/forms/nsFieldSetFrame.cpp:478
473       NS_ASSERTION(!mContentFrame ||
474                    GetContentMinWidth(aReflowState.rendContext) <= availSize.width,
475                    "Bogus availSize.width; should be bigger");
(gdb) p availSize
$1 = {
  width = -360, 
  height = 1073741824
}

In fact, the available width passed to the reflow state from line layout is already -30.

sayrer, is there an easy way to just run this one test, btw?
Flags: blocking1.9?
(In reply to comment #0)
> 
> sayrer, is there an easy way to just run this one test, btw?

Change the startup URL at the top of runtests.pl to 

http://localhost:8888/tests/test_bug337124.html

Keywords: assertion, testcase
Flags: blocking1.9? → blocking1.9-
Whiteboard: [wanted-1.9]
This no longer seems to happen.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Flags: wanted1.9+
Whiteboard: [wanted-1.9]
You need to log in before you can comment on or make changes to this bug.