Closed
Bug 216530
Opened 22 years ago
Closed 22 years ago
Switching between display block and none on a TR element causes the TR to grow.
Categories
(Core :: Layout: Tables, defect)
Tracking
()
People
(Reporter: bugzilla_alec, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030815
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030815
When switching a tr element's display style property back and forth between
block and none, the tr seems to take up progressively more space, pushing
following TR elements down.
Reproducible: Always
Steps to Reproduce:
1. load example url http://whee.dk/nsbug/
2. click the 'Click' link repeatedly
Actual Results:
the TR marked 'now you see me' grows, pushing the following TR down.
Expected Results:
The TR marked 'now you see me' should disappear when set to display none (it
does this fine), and reappear exactly as originally shown when set to display
block (it does show, but incorrectly.)
The same happens when using 'inline' rather than 'block' for the display property.
Comment 1•22 years ago
|
||
Also observed in Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3) Gecko/20030309
I see the same behavior in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.5b) Gecko/20030817 Mozilla Firebird/0.6.1+
you really mean 'display: table-row' rather than 'display: block'
*** This bug has been marked as a duplicate of 97506 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•