Closed Bug 397448 Opened 17 years ago Closed 17 years ago

"ASSERTION: Doing nscoord addition with values > nscoord_MAX" with percentage margin in table cell

Categories

(Core :: Layout: Tables, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: dholbert)

References

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Attached file testcase
Loading the testcase triggers two of the new assertions added in bug 367673: ###!!! ASSERTION: Doing nscoord addition with values > nscoord_MAX: 'a < nscoord_MAX && b < nscoord_MAX', file ../../dist/include/gfx/nsCoord.h, line 151 ###!!! ASSERTION: nscoord addition will reach or pass nscoord_MAX: '(PRInt64)a + (PRInt64)b < (PRInt64)nscoord_MAX', file ../../dist/include/gfx/nsCoord.h, line 153
Attached patch fixSplinter Review
trivial -- we just need one more call to NSCoordSaturatingAdd.
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #282274 - Flags: superreview?(roc)
Attachment #282274 - Flags: review?(roc)
Attachment #282274 - Flags: approval1.9?
Attachment #282274 - Flags: superreview?(roc)
Attachment #282274 - Flags: superreview+
Attachment #282274 - Flags: review?(roc)
Attachment #282274 - Flags: review+
Attachment #282274 - Flags: approval1.9?
Attachment #282274 - Flags: approval1.9+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Depends on: 368573
Flags: in-testsuite?
Crashtest checked in.
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: