Closed
Bug 77121
Opened 25 years ago
Closed 25 years ago
setting style.display to none after block on tr or td causes mozilla to hang
Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
People
(Reporter: mozbugs, Assigned: jst)
References
()
Details
(Keywords: hang)
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
BuildID: 2001041104
Setting the style.display property of tr or td elements to "none" or "" after
setting the same property to "block" causes mozilla to consume 100% CPU and
hang.
Internet Explorer 5.5 behaves correctly (resulting in the tr being hidden).
Reproducible: Always
Steps to Reproduce:
Go to the URL above. Click on the "Click Me" table cell.
The same thing occurs if the id attribute is moved from the tr to the td. It
also fails if the style.display=block and style.display=none are triggered from
different events rather than consecutive lines of javascript.
Actual Results: Mozilla stopped responding, consumed 100% CPU.
Expected Results: The cell with the red background should have been hidden.
| Reporter | ||
Comment 1•25 years ago
|
||
Also occurs for <tbody> elements.
Comment 3•25 years ago
|
||
| Reporter | ||
Comment 4•25 years ago
|
||
I can't 100% confirm this is a DUP without looking at the code in some detail.
However, from the description of 70648, it seems pretty likely. I'll close it as
a DUP for now. When 70648 is closed, I'll re-open if there are still problems
with tables.
*** This bug has been marked as a duplicate of 70648 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•