Sponsored By Aspose - File Format APIs for .NET

Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!

thead/tbody/tfoot tags on FireFox bug

This is more of an fyi post than anything because I didn’t immediately find out about this behavior with a quick google search.

When toggling the display style of the tbody between “none” and “block”, the FireFox rendering engine causes the resulting table to be completely misrendered.  Multiple columns under tbody will be rendered in the first column of the thead – throwing off thead columns greatly.  The toggling only makes subsequent renders worse.

IE will render this display style toggling perfectly fine. I have not tested this on any other browsers.

This entry was posted in Uncategorized. Bookmark the permalink. Follow any comments here with the RSS feed for this post.

2 Responses to thead/tbody/tfoot tags on FireFox bug

  1. Ken Kolano says:

    Unfortunately this is a rather long standing bug in Firefox. I first encountered it apox. 2 years ago now.

    I believe the relevant Bugzilla entry is…
    …opened 2002-05-09 23:24 PDT :(

  2. amy g says:

    I’m not sure this just exactly a bug. I think it’s because when showing and hiding table elements in Firefox, you need to use the CSS2 “table” display values, http://www.w3.org/TR/CSS21/visuren.html#propdef-display, instead of “block”.

Leave a Reply