<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<title>Bug 320979</title>
<style type="text/css">
table {border-color: red}
td {background: green; color: white}
</style>
<p>There should be no red.
<TABLE rules=all border=0>
  <TBODY>
    <TR>
      <td>test
      <td>test
    </TR>
    <TR>
      <td>test
      <td>test
    </TR>
  </TBODY>
</TABLE>