Closed Bug 414180 Opened 17 years ago Closed 15 years ago

"ASSERTION: Invalid computed height" with <xul:grid>, negative margin

Categories

(Core :: XUL, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

225 bytes, application/vnd.mozilla.xul+xml
Details
Attached file testcase
###!!! ASSERTION: Invalid computed width: 'aComputedWidth >= 0', file /Users/jruderman/trunk/mozilla/layout/generic/nsHTMLReflowState.cpp, line 252

###!!! ASSERTION: Invalid computed height: 'aComputedHeight >= 0', file /Users/jruderman/trunk/mozilla/layout/generic/nsHTMLReflowState.cpp, line 278
nsFrame::BoxReflow has this thing where it gets the parentSize, then adds the margins to it, then uses that for stuff.  Presumably it should be using a PR_MIN with 0 somewhere in there.  I'm not sure what this code is really doing, so not sure where.
Yeah, I don't know what that's doing either.
Assignee: jag → nobody
WFM on trunk.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Flags: in-testsuite?
Crashtest: http://hg.mozilla.org/mozilla-central/rev/f4622261cce8
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: