Closed Bug 288931 Opened 19 years ago Closed 19 years ago

attack of the marquees hangs mozillla

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bernd_mozilla, Unassigned)

References

()

Details

(Keywords: hang, testcase, Whiteboard: [sg:dos][reflow-refactor])

Attachments

(1 file)

one of the classical mangleme testcases (nearly) hangs mozilla.
It looks like in xul we coerce a large number to NS_UNCONSTRAINEDSIZE  and have
a styled height with a NS_UNCONSTRAINEDSIZE predefined height and and start looping.
Attached file coerce demo
the coerce demo will cause in a debug build:

nsBlockReflowContext: HTMLScroll(div)(0)@03475F1C metrics=13392,1073741824!
nsBlockReflowContext: Block(body)(2)@034746D4 metrics=13392,1073741824!
nsBlockReflowContext: HTMLScroll(div)(0)@03475F1C metrics=13152,1073741824!
nsBlockReflowContext: Block(body)(2)@034746D4 metrics=13152,1073741824!
###!!! ASSERTION: non-root frame's desired size changed during an incremental re
flow: 'first == root || (aDesiredSize.width == size.width && aDesiredSize.height
 == size.height)', file e:/moz_src/mozilla/layout/base/nsPresShell.cpp, line 905
the default for a computed max height is NS_UNCONSTRAINEDSIZE this corresponds
to 0x40000000.On my machine the large height is just above that, somewhere
around 0x46......, so we coerce the preferered size in xul to NS_UNCONSTRAINEDSIZE.
Whiteboard: [sg:dos]
Whiteboard: [sg:dos] → [sg:dos][reflow-refactor]
Url testcase freezes in 2005-04-28 build, but works in 2005-04-29 build.
Probably fixed by bug 240276?
WFM with

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050816
Firefox/1.6a1

Should this be marked as fixed?
WFM on Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050910
Firefox/1.4

-> WFM
Status: NEW → RESOLVED
Closed: 19 years 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: