Closed
Bug 142998
Opened 23 years ago
Closed 17 years ago
border-collapse: using css(display:none) to hide rows in tHead drop border in tBody
Categories
(Core :: Layout: Tables, defect, P2)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: andrew_v, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: css2, testcase)
Attachments
(1 file)
|
571 bytes,
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020417
BuildID: 20020417
i use a stylesheet to hide tHead and tFoot, but i need a greed in tBody
<style type="text/css">
table {border-collapse : collapse; }
table td{ border: 1px solid; }
table tfoot tr{ display : none}
table thead tr{ display : none}
</STYLE>
<!-- it works -->
<table>
<caption>without head</caption>
<tbody>
<tr> <td>bodyR0</td><td>body</td> </tr>
</tbody>
</table>
<!-- it doesn't work -->
<table>
<caption>with head</caption>
<thead>
<tr> <td>headR0</td><td>head</td> </tr>
</thead>
<tbody>
<tr> <td>bodyR0</td><td>body</td> </tr>
</tbody>
<tfoot>
<tr> <td>footR0</td><td>foot</td> </tr>
</tfoot>
</table>
<!--and i lost my greed-->
Reproducible: Always
| Reporter | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
-> tables.
What is a 'greed' ?
Assignee: Matti → karnaze
Component: Browser-General → HTMLTables
QA Contact: imajes-qa → amar
Comment 3•23 years ago
|
||
Confirmed; border-collapse is the problem....
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: using css(display:none) to hide rows in tHead drop border in tBody → border-collapse: using css(display:none) to hide rows in tHead drop border in tBody
Updated•23 years ago
|
Updated•23 years ago
|
Target Milestone: --- → Future
I've encountered this problem too in build 2002101612 for Windows. For me it's
omitting the top and left hand side borders on a table, however it wasn't
reproducable when I took the css/html and put it all by itself - it was only a
visible problem when used in a dhtml/dom menu system that hides/shows tables.
I tested with some css settings, and I agree that border-collapse is the
problem maker.
Comment 5•23 years ago
|
||
The problem is that we miscalculate the borders; we should ignore collapsed or
display:none rows when doing the adjacency calculations....
Comment 6•23 years ago
|
||
mass reassign to default owner
Assignee: karnaze → table
QA Contact: amar → madhur
Target Milestone: Future → ---
Updated•23 years ago
|
Target Milestone: --- → Future
Updated•21 years ago
|
Comment 7•20 years ago
|
||
*** Bug 315849 has been marked as a duplicate of this bug. ***
This looks like wfm, please reopen if you still see the issue
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•