Closed
Bug 296372
Opened 20 years ago
Closed 20 years ago
The table displays incorrectly when setting the display style to none and back for the TR element
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: jeff, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; zh-TW; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; zh-TW; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Please refer to the URL,
Please click on remove, and then show. the two columns should be removed when
clicking on remove,
and they should be back the way they were when clicking "show"
this is done by simply setting the style.display attribute from default "block"
to "none" and back to "block"
You can reference IE for the correct behavior of this issue.
Reproducible: Always
Steps to Reproduce:
Please refer to the above detail and reference URL
Actual Results:
1. the table displays incorrectly, all TDs have been merged into one cell span.
2. after multiple show and remove, extra empty rows will appear
Expected Results:
Each time we click show and remove, it should simply remove the two rows, and
show them as they were.
N/A
The default display type for <tr>s is "table-row" not "block", toggle between
display="none" and display="" for the best cross-browser results (since Fx has a
bug and IE doesn't support table-row at all).
http://www.w3.org/TR/CSS21/visuren.html#propdef-display
*** This bug has been marked as a duplicate of 97506 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Thank you so much for your suggestion. It really helps!
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•