Closed Bug 541714 Opened 14 years ago Closed 14 years ago

"ASSERTION: Scrolled rect smaller than scrollport?"

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a5

People

(Reporter: jruderman, Assigned: MatsPalmgren_bugz)

References

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Attached file testcase
###!!! ASSERTION: Scrolled rect smaller than scrollport?: 'result.width >= mScrollPort.width', file /Users/jruderman/central/layout/generic/nsGfxScrollFrame.cpp, line 3073
Attached patch Patch 1Splinter Review
We end up with negative desired width due to integer overflow.
Using NSCoordSaturatingAdd instead of '+' fixes it.
Attachment #428070 - Flags: review?(roc)
http://hg.mozilla.org/mozilla-central/rev/74a560d813ae
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Depends on: 718564
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: