[Bug 215712] [NEW] error in rendering css table styling
svaens
svaens at gmail.com
Fri Apr 11 14:06:24 UTC 2008
Public bug reported:
Binary package hint: firefox
The presence of an empty "thead" tag in a table causes the table borders to disappear with using style
border-collapse: collapse;
for the table.
This can be reproduced when using either either a closed single "thead"
tag, or using two tags (open and close) enclosing no row and column
information.
attached is a small html page with information in the thead tag.
Simply remove the contents of the "thead" tag to reproduce the problem.
On removing the contents of the thread, the border style will disappear.
<html>
<head>
<style type="text/css">
#patient_data {
position: relative;
left: 40pt;
top: 40pt;
width: 90%;
}
table.orio_t
{
border-collapse: collapse;
border-width: 1px;
border-style: solid;
border-color: #99a7b1;
font-size: 10pt;
}
table.orio_t td {
border-width: 1px;
border-style: solid;
border-color: #99a7b1;
}
</style>
</head>
<body>
<table id="pd_table" class="orio_t">
<colgroup span="2">
<col id="pd_table_left"/>
<col id="pd_table_right"/>
</colgroup>
<!-- remove the contents of the thead tag below to reproduce the problem -->
<thead><tr><th>Title</th><th>Artist</th>
</tr></thead>
<tbody>
<tr>
<td class="cell_heading">hello</td>
<td class="cell_heading">goodbye</td>
</tr>
<tr>
<td>joe</td>
<td>blo</td>
</tr>
</tbody>
<tfoot/>
</table>
</body>
</html>
ProblemType: Bug
Architecture: i386
Date: Fri Apr 11 15:57:02 2008
DistroRelease: Ubuntu 7.10
NonfreeKernelModules: nvidia
Package: firefox 2.0.0.13+1nobinonly-0ubuntu0.7.10
PackageArchitecture: i386
SourcePackage: firefox
Uname: Linux thirroul 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
** Affects: firefox (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug
--
error in rendering css table styling
https://bugs.launchpad.net/bugs/215712
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in ubuntu.
More information about the Ubuntu-mozillateam-bugs
mailing list