If I pass parameter
headerrows="2"
, and create 2 header rows, TablePlugin puts each row inside a
thead
. The same goes for footerrows.
My browser does not like it: the last footer is drawn above the first footer, while the html is in the correct order.
Example:
First header 1 |
First header 2 |
Second header 1 |
Second header 2 |
First footer 1 |
First footer 2 |
Last footer 1 |
Last footer 2 |
Mathilde |
Black mud |
Raphael |
Cotton strappings |
I think header and footer rows should be grouped inside one
thead
and one
tfoot
tag.
--
TWiki:Main.ArthurClemens
- 30 Nov 2007
The
thead
is also causing the misrendering in
Item3944.
_Along with tfoot and tbody, thead can be used to group a series of rows. thead can be used just once within a table element and should appear before a tfoot and tbody element.
http://www.htmldog.com/reference/htmltags/thead/_
So header rows at the top of the table may be grouped into a thead. But header rows in the middle may not. And headers at the bottom may be grouped into a tfoot.
--
TWiki:Main.ArthurClemens
- 02 Dec 2007
Raising priority from low" to "normal" since
Item3944 got discarded for this bug item here.
--
TWiki:Main.PeterThoeny
- 03 Dec 2007
Moreover:
If you use the thead, tfoot and tbody elements, you must use every element. They should appear in this order: <thead>, <tfoot> and <tbody>, so that browsers can render the foot before receiving all the data. You must use these tags within the table element.
What a mess. Currently:
- tfoot rows are written at the end of the table, not before the tbody
- tbody is not used anywhere, but should be in case thead is used
- tfoot is only used if
footerrows
are defined, but should be in case thead is used
- update: omitting tfoot will pass validation
- any element should have a tr
--
TWiki:Main.ArthurClemens
- 03 Dec 2007
The table at the top is now working correctly.
--
TWiki:Main.ArthurClemens
- 03 Dec 2007