Closed
Bug 246536
Opened 21 years ago
Closed 21 years ago
Hiding/showing a TR causes table to be rendered incorrectly
Categories
(Core :: Layout: Tables, defect)
Tracking
()
People
(Reporter: mailjoachim, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040608
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040608
Any element can be hidden by setting its style.visibility = "hidden" and its
style.display = "none". It can then be made visible again by setting its
style.visibility = "visible" and its style.display = "block".
When hiding and subsequently showing a TR element, the whole TR seems to appear
in the first TD. Also, every time the row is made visible, extra space is added
to the table.
Please look at http://members.chello.nl/pjkru/personal/MozillaBug001.html for
more detailed information, including a table that should illustrate the problem
(and an image if it doesn't).
Reproducible: Always
Steps to Reproduce:
1.Go to http://members.chello.nl/pjkru/personal/MozillaBug001.html
2.Click on 'Click here' in the (first, uppermost) table
3.Repeat step 2 about four times
Actual Results:
Table is rendered incorrectly; the whole row appears in the first cell.
Expected Results:
Row should become invisible and visible again.
Default installation of Mozilla, bug also happens in Firefox.
Comment 1•21 years ago
|
||
This happens becuause the default display value of a table row is table-row, not
block.
Toggle between display none and "" to get something that works cross-browser.
This has been reported before and should be closed as a duplicate to the
appropriate bug.
Whiteboard: DUPEME
*** This bug has been marked as a duplicate of 97506 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•