Closed Bug 101518 Opened 23 years ago Closed 23 years ago

Mozilla freezes after setting style.display to none

Categories

(Core :: DOM: CSS Object Model, defect)

defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: simon, Assigned: jst)

References

()

Details

(Keywords: hang, testcase)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010913
BuildID:    2001091311

Basically I'm setting the display property of a bunch of <tr>'s
to `none' and `block', switching every second.

It chokes on the third pass (on the first tr element) as demonstrated by:
http://www.weijgers.com/testcase-freeze-improved.html

I tested the test case on mozilla/0.9.3 (linux) and mozilla/0.9.4, it froze both.

People on #mozilla reported that it also freezes w2k/mozilla.

Reproducible: Always
Confirming that this also freezes current BRANCH 0.9.4 on Red Hat Rawhide Linux.
Status: UNCONFIRMED → NEW
Ever confirmed: true
This also freezes yesterday's TRUNK snapshot (on Linux).
Keywords: hang
It hangs when style display='block', and then display='none'
Here is very small example
http://samm.evitel.com/nsbug.html
BTW, bug is in my code (td display must be table-cell). But what happens with
mozilla ? :) I check it with mozilla 0.9.3 and mozilla 0.9.4 builds.
Status: NEW → ASSIGNED
Alex, only the bug assignee is supposed to change the status of his/her bugs from
NEW to ASSIGNED, please never do that again to bugs that are not assigned to
you. Thanks.
Severity: normal → major
Keywords: testcase
WORKSFORME, please reopen if you still see this crash.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.