Closed
Bug 273115
Opened 20 years ago
Closed 20 years ago
empty td breaks border css rules
Categories
(Core :: Layout: Tables, defect)
Core
Layout: Tables
Tracking
()
RESOLVED
INVALID
People
(Reporter: agr, Unassigned)
Details
Attachments
(1 file)
|
561 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041119 Firefox/1.0 (Debian package 1.0-3)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041119 Firefox/1.0 (Debian package 1.0-3)
When a td is empty, the css rules for the borders are not applied.
This code will show the bug :
<style type="text/css">
#listing {
border-bottom: 1px solid #369;
border-right: 1px solid #369;
}
#listing td {
padding:0 2 0 2;
border-top: 1px solid #69c ;
border-left: 1px solid #69c ;
}
</style>
<table cellpadding="0" cellspacing="0" id="listing">
<tr>
<td>Test1</td>
<td>Test2</td>
<td>Test3</td>
</tr>
<tr>
<td>Value1</td>
<td></td>
<td>Value2</td>
</tr>
<tr>
<td></td>
<td></td>
<td>Test4</td>
</tr>
</table>
Hope this is not another famous WONTFIX mozilla bug.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.How about a strict doctype http://www.mozilla.org/docs/web-developer/quirks/doctypes.html to avoid quirks mode?
this is invalid as shown by the testcase
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 4•20 years ago
|
||
(In reply to comment #3) > this is invalid as shown by the testcase I apologize, I was not aware of this quirk vs standard mode.
no need to apologize, please report bugs that you find thats how we all started ( bug 26701 )
You need to log in
before you can comment on or make changes to this bug.
Description
•