• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5050: TablePlugin: Do not add a thead for each header row

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TablePlugin Normal Closed   minor 4.2.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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

ItemTemplate
Summary TablePlugin: Do not add a thead for each header row
ReportedBy TWiki:Main.ArthurClemens
Codebase

SVN Range TWiki-4.3.0, Sun, 25 Nov 2007, build 15790
AppliesTo Extension
Component TablePlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:15843 TWikirev:15844
TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r9 - 2008-01-22 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback