Closed Bug 101292 Opened 24 years ago Closed 24 years ago

setting table background color in <table> paints gaps

Categories

(Core :: Layout: Tables, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: s.kost, Assigned: karnaze)

Details

Setting the background color of a table in <table> instead of in <tr> or <td> it paints the gaps (e.g. when using cellspacing="2") as well. <html> <head> <title>table test</title> </head> <body bgcolor="#AAAAAA"> <table border="0" cellpadding="1" cellspacing="2" bgcolor="#FFFFFF"> <tr><td>123</td><td>ABC</td></tr> <tr><td>456</td><td>DEF</td></tr> </table> <table border="0" cellpadding="1" cellspacing="2"> <tr bgcolor="#FFFFFF"><td>123</td><td>ABC</td></tr> <tr bgcolor="#FFFFFF"><td>456</td><td>DEF</td></tr> </table> </body> </html>
It workes fine with version 0.9.2 and its broken with 0.9.3 and 0.9.4
it should draw background color in cellspacing, even in quirks mode.Please see bug 46268 for further discussion and of course html4.0 spec and CSS2 spec the separated border model.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.