Open Bug 448083 Opened 17 years ago Updated 3 years ago

"ASSERTION: width less than zero" with position:absolute, large padding-left

Categories

(Core :: Layout, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file testcase
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1a2pre) Gecko/2008072515 Minefield/3.1a2pre Loading the testcase triggers: ###!!! ASSERTION: width less than zero: 'aContainingBlockWidth >= 0', file /Users/jruderman/central/layout/base/nsLayoutUtils.cpp, line 1863
This is just overflow, right?
Now I get a different assertion: ###!!! ASSERTION: Can't solve for both left and right: 'NS_AUTOOFFSET != kidReflowState.mComputedOffsets.right', file /Users/jruderman/central/layout/generic/nsAbsoluteContainingBlock.cpp, line 486 (that assertion also shows up in bug 416639, btw)
I can still reproduce. The assertion is now direction-agnostic: ###!!! ASSERTION: Can't solve for both start and end: 'NS_AUTOOFFSET != offsets.IEnd(outerWM)', file layout/generic/nsAbsoluteContainingBlock.cpp
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: