Open Bug 404133 Opened 17 years ago Updated 3 years ago

"WARNING: nscoord addition capped to nscoord_MAX" with percentage margin in table cell, colspan

Categories

(Core :: Layout: Tables, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(2 files)

Attached file testcase
Loading the testcase triggers: ###!!! ASSERTION: Attempted to subtract [n - nscoord_MAX]: 'Not Reached', file ../../dist/include/gfx/nsCoord.h, line 194
No idea whether it's the same bug or not -- I'm not even going to attempt to reduce until we know it's clearly a different problem -- but I also get this assertion when clicking on letters on the following page: http://www.sirdarckcat.net/cskg.html Something's weird about the page that apparently makes it impossible to run again -- maybe cookies, maybe cache, although force-reload did nothing -- so you may need a new profile to be able to replay the assertion after a first time through.
Attached file testcase 2
Triggers: ###!!! ASSERTION: Attempted to subtract [n - nscoord_MAX]: 'Not Reached', file ../../dist/include/gfx/nsCoord.h, line 194 ###!!! ASSERTION: neither value can be negative: 'minWithinPref >= 0', file /Users/jruderman/trunk/mozilla/layout/tables/BasicTableLayoutStrategy.cpp, line 414 and more
Now I just get WARNING: nscoord addition capped to nscoord_MAX: '(PRInt64)a + (PRInt64)b < (PRInt64)nscoord_MAX', file ../../dist/include/gfx/nsCoord.h, line 156 (This one was changed from an assertion to a warning in bug 408754.) I'm not marking this bug as WFM because I don't think it makes sense for this testcase to trigger the warning.
Keywords: assertion
Summary: "ASSERTION: Attempted to subtract [n - nscoord_MAX]" with percentage margin in table cell, colspan → "WARNING: nscoord addition capped to nscoord_MAX" with percentage margin in table cell, colspan
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: