Open
Bug 764741
Opened 12 years ago
Updated 1 year ago
Table cell borders missing: should reprocess borders collapsed by "border-collapse: collapse" if some rows are hidden with "display:none"
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: nagyt, Unassigned)
References
()
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0 Build ID: 2012042100 Steps to reproduce: I have loaded the attached HTML, which contains a very simple table, with some rows hidden. If the last or the last but one <tbody> section is removed, then the tables is displayed correctly. Note, that in Chrome, Opera, Safari and IE the table appears correctly. Actual results: The table cell borders are incorrect. All vertical borders are missing and also some of the horizontal ones. Expected results: All table cell borders should appear.
Reporter | ||
Comment 1•12 years ago
|
||
The problem is the same on all windows and linux and from Firefox 3.6.x to 13.0.
Reporter | ||
Comment 2•12 years ago
|
||
The problem is the same on 14.0b6.
This is probably a dupe of an existing border-collapse bug, because the borders in the testcase show up OK when border-collapse: collapse is removed.
Updated•12 years ago
|
Attachment #633070 -
Attachment mime type: text/plain → text/html
Comment 4•12 years ago
|
||
Comment 3 is correct, but they also show up if you do not use <tr style="display:none"> in your HTML code. Elements with 'display: none' are not rendered so I don't see a bug here.
Reporter | ||
Comment 5•12 years ago
|
||
I disagree with comment 4. If table row is hidden, the border of the previous and next rows should appear.
Comment 6•11 years ago
|
||
Maybe duplicate of bug 217769 (though I don't fully understand what that bug is about)?
Component: Untriaged → Layout: Tables
Product: Firefox → Core
Summary: Table cell borders missing → Table cell borders missing: should reprocess borders collapsed by "border-collapse: collapse" if some rows are hidden with "display:none"
Comment 7•3 years ago
|
||
Comment 8•3 years ago
|
||
Still occurs in FF 89. New test case attached. Chrome and Edge handle this correctly.
Updated•2 years ago
|
Severity: normal → S3
Comment hidden (spam) |
You need to log in
before you can comment on or make changes to this bug.
Description
•