setting table background color in <table> paints gaps

RESOLVED INVALID

Status

()

RESOLVED INVALID
17 years ago
17 years ago

People

(Reporter: s.kost, Assigned: karnaze)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
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>
(Reporter)

Comment 1

17 years ago
It workes fine with version 0.9.2 and its broken with 0.9.3 and 0.9.4

Comment 2

17 years ago
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
Last Resolved: 17 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.