A table with align=center is not centered if it also specifies hspace. See attached test case.
Created attachment 10945 [details] Test case
An example of this on a real website: http://www.iloveindia.com/astrology/index.html
Interesting. Firefox appears to be somehow giving some mapped attributes a higher precedence than others. In particular, it makes sure hspace gets mapped in before align does.
The bug is that we implemented align=center in the CSS file. This created a situation where hspace would always win (instead of allowing attribute order to determine the winner).
Created attachment 18368 [details] Patch that moves align=center into code instead of CSS This patch will also improve the style sharing performance of tables, since the attribute selector rule in html4.css prevented tables from sharing style with one another.
Comment on attachment 18368 [details] Patch that moves align=center into code instead of CSS r=me. Add a test case if not covered by an existing one.
Fixed in r29409.