Closed
Bug 1043163
Opened 10 years ago
Closed 10 years ago
"ASSERTION: Bad layer contents rectangle" with hugely negative transform scale
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: jruderman, Assigned: roc)
References
Details
(Keywords: assertion, regression, testcase)
Attachments
(3 files)
###!!! ASSERTION: Bad layer contents rectangle: 'aLayerContentsVisibleRect->width >= 0 && aLayerContentsVisibleRect->height >= 0', file layout/base/FrameLayerBuilder.cpp, line 1753 This assertion was added in https://hg.mozilla.org/mozilla-central/rev/cb7751fa7b29
Reporter | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
This is just a straight overflow in "pixBounds = state.ScaleToOutsidePixels(bounds, false);" because the Y scale is super-large. We end up with a negative height in pixBounds which later leads to the assertion.
Assignee | ||
Comment 3•10 years ago
|
||
I think we should probably just have the nsRect Scale methods clamp negative width/height to 0.
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8466768 -
Flags: review?(tnikkel)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → roc
Status: NEW → ASSIGNED
Updated•10 years ago
|
Attachment #8466768 -
Flags: review?(tnikkel) → review+
https://hg.mozilla.org/mozilla-central/rev/a5d5b4c5c24f
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•