Closed Bug 458659 Opened 16 years ago Closed 11 years ago

Hang [@ nsColumnSetFrame::ReflowChildren] with -moz-column, height:0

Categories

(Core :: Layout, defect)

defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: hang, testcase)

Attachments

(2 files, 1 obsolete file)

Attached file testcase (hangs Firefox when loaded) (obsolete) —
Gary Kwong found this back in May, but at the time I thought it was the same as bug 429981.
Also on Windows.
OS: Mac OS X → All
Hardware: PC → All
We're creating new columns in an endless loop so I guess this crashes
if you leave it running long enough.
Attached patch wipSplinter Review
A bit wallpaper-ish perhaps but it fixes it, bailing the loop with
the warning "Too many zero height columns".
Will the second assertion be hit with something like
<div style="-moz-column-width: 10px; height: 1px;"><div style="height: 20000px;"></div></div>
?
Yes.
Then it probably shouldn't be an assertion :)
Having a maximum number of columns is a good idea.

But we shouldn't be creating an infinite number of empty columns, that's a bug we should fix. The real question is what the rendering of the testcase should be.
WFM. I wonder what fixed it.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Oh, it's just that bug 695222 changed the default column-fill default from "auto" to "balance".  If I modify the testcase to specify column-fill: auto, it hangs again.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Attachment #341871 - Attachment is obsolete: true
Seems to be fixed now.
Status: REOPENED → RESOLVED
Closed: 12 years ago11 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: