Mozilla table border-collapse/border attribute bug

This is a test page demonstrating a bug in Mozilla-based web browsers' (e.g. Firefox, Camino, Mozilla itself) handling of the CSS border-collapse property, when used in conjunction with a border HTML attribute.

Below is an HTML table, three cells by two. The table has one atttribute, border="1".

The inline stylesheet in this page contains the following rules:

table {
border-collapse: collapse;
}

td {
border-style: none;
}

Mozilla incorrectly inserts a 1 pixel wide black border between the cells in the table.

No workaround is known, other than to avoid using the HTML border attribute and CSS border-collapse property together - meaning if your CSS requires border-collapse, users without stylesheets don't get borders on their table. If you find a workaround, please let me know: e-mail paul, at this domain.

This has been tested in Firefox 1.5 and 1.0, and Camino 1.0.

Example table

A cell! Another cell! Yet another cell!
Ashanti! Another shanti! Yet another shanti!