Closed Bug 391170 Opened 17 years ago Closed 1 year ago

Absurd Zoom Out causes Black Screen

Categories

(Core :: Layout, defect)

x86
Windows XP
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kendallasmith, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7) Gecko/2007080210 GranParadiso/3.0a7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7) Gecko/2007080210 GranParadiso/3.0a7

Taking any page and zooming out ~25 times causes a black screen (pressing "normal" zoom, and refreshing will recover at this point). Pressing Zoom out an addition ~5-10 times will cause the browser to crash.

Reproducible: Always

Steps to Reproduce:
Taking any page and zooming out ~25 times causes a black screen (pressing "normal" zoom, and refreshing will recover at this point). Pressing Zoom out an addition ~5-10 times will cause the browser to crash.
Actual Results:  
See above

Expected Results:  
User should not be allowed to crash the browser.

Using temporary UI described in bug 389628 comment 19.
Told to make this bug block bug 4821, but not sure exactly how to do this...
Blocks: pagezoom
Status: UNCONFIRMED → NEW
Ever confirmed: true
This picture shows a black patch and this is caused by zooming out and scrolling.
The non-black patches are where my gimp was, there was a black rectangle all over the text ( not the blue border )
Attached file testcase (obsolete) —
The ui doesn't allow anymore to zoom out extremely, but I can still see this bug in current trunk build with this testcase.
It uses enhanced privileges, so you need to download it to your computer.
I'm also seeing these assertions with the testcase:
###!!! ASSERTION: reflow state computed incorrect width: 'reflowState.ComputedWi
dth() == size.width - reflowState.mComputedBorderPadding.LeftRight()', file c:/m
ozilla-build/mozilla/layout/base/nsPresShell.cpp, line 6144
###!!! ASSERTION: Invalid computed height: 'aComputedHeight >= 0', file c:/mozil
la-build/mozilla/layout/generic/nsHTMLReflowState.cpp, line 285
###!!! ASSERTION: reflow state computed incorrect width: 'reflowState.ComputedWi
dth() == size.width - reflowState.mComputedBorderPadding.LeftRight()', file c:/m
ozilla-build/mozilla/layout/base/nsPresShell.cpp, line 6144
###!!! ASSERTION: Invalid computed height: 'aComputedHeight >= 0', file c:/mozil
la-build/mozilla/layout/generic/nsHTMLReflowState.cpp, line 285
WARNING: Overflowed nscoord_MAX in conversion to nscoord: file c:\mozilla-build\
mozilla\_firefox\dist\include\xpcom\nsUnitConversion.h, line 100
WARNING: Overflowed nscoord_MAX in conversion to nscoord: file c:\mozilla-build\
mozilla\_firefox\dist\include\xpcom\nsUnitConversion.h, line 100
###!!! ASSERTION: reflow state computed incorrect width: 'reflowState.ComputedWi
dth() == size.width - reflowState.mComputedBorderPadding.LeftRight()', file c:/m
ozilla-build/mozilla/layout/base/nsPresShell.cpp, line 6144
###!!! ASSERTION: Invalid computed height: 'aComputedHeight >= 0', file c:/mozil
la-build/mozilla/layout/generic/nsHTMLReflowState.cpp, line 285

I don't see any crash, though.
Keywords: testcase
Attached file testcase
Attachment #289930 - Attachment is obsolete: true
Summary: Absurd Zoom Out causes Black Screen / Browser Crash → Absurd Zoom Out causes Black Screen
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
Severity: normal → S3

Unable to reproduce.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: