W3C home > Mailing lists > Public > public-html@w3.org > October 2008

Re: table and meter : timeline, timesheet

From: Simon Pieters <simonp@opera.com>
Date: Mon, 27 Oct 2008 10:48:27 +0100
To: "Ben Millard" <cerbera@projectcerbera.com>, "Ian Hickson" <ian@hixie.ch>, "Olivier GENDRIN" <olivier.gendrin@gmail.com>
Cc: "Lachlan Hunt" <lachlan.hunt@lachy.id.au>, public-html <public-html@w3.org>
Message-ID: <op.ujof61ldidj3kv@zcorpandell.linkoping.osa>

On Sun, 26 Oct 2008 22:51:11 +0100, Ben Millard  
<cerbera@projectcerbera.com> wrote:

> Wikipedia uses <table> for timelines. An example is in my 2008  
> collection:
>
> <http://projectcerbera.com/web/study/2008/tables#timelines>
>
> Lots of colspan and rowspan reduces the total number of cells. I guess  
> they work since data cells which span different groups of column headers  
> get every header cell which applies to any slot covered by that data  
> cell. (AFAICT.)
>
> So, the "400i" cell on Wikipedia gets these column headers:
>
> * 1970s
>    * 9
> * 1980s
>    * 0
>    * 1
>    * 2
>    * 3
>    * 4
>
> And these row headers:
>
> * FR/FMR
>    * 2+2

http://james.html5.org/cgi-bin/tables/table_inspector.py?uri=&input_type=type_source&source=%3Ctable%3E%3Ctr%3E%3Cth+colspan%3D2+rowspan%3D2%3EType%3Cth+colspan%3D10%3E1960s%3Cth+colspan%3D10%3E1970s%3Cth+colspan%3D10%3E1980s%3Cth+colspan%3D10%3E1990s%3Cth+colspan%3D10%3E2000s%3Ctr%3E%3Cth%3E0%3Cth%3E1%3Cth%3E2%3Cth%3E3%3Cth%3E4%3Cth%3E5%3Cth%3E6%3Cth%3E7%3Cth%3E8%3Cth%3E9%3Cth%3E0%3Cth%3E1%3Cth%3E2%3Cth%3E3%3Cth%3E4%3Cth%3E5%3Cth%3E6%3Cth%3E7%3Cth%3E8%3Cth%3E9%3Cth%3E0%3Cth%3E1%3Cth%3E2%3Cth%3E3%3Cth%3E4%3Cth%3E5%3Cth%3E6%3Cth%3E7%3Cth%3E8%3Cth%3E9%3Cth%3E0%3Cth%3E1%3Cth%3E2%3Cth%3E3%3Cth%3E4%3Cth%3E5%3Cth%3E6%3Cth%3E7%3Cth%3E8%3Cth%3E9%3Cth%3E0%3Cth%3E1%3Cth%3E2%3Cth%3E3%3Cth%3E4%3Cth%3E5%3Cth%3E6%3Cth%3E7%3Cth%3E8%3Cth%3E9%3Ctr%3E%3Cth+rowspan%3D4%3EFR%2FFMR%3Cth+rowspan%3D2%3EGT%3Ctd+colspan%3D4%3E250%3Ctd+colspan%3D4%3E275%3Ctd+rowspan%3D2+colspan%3D6%3E365+GTB%2F4+Daytona%3Ctd+rowspan%3D2+colspan%3D6%3E%3Ctd+rowspan%3D2+colspan%3D10%3E%3Ctd+rowspan%3D2+colspan%3D6%3E%3Ctd+rowsp 
an%3D2+colspan%3D6%3E550%3Ctd+colspan%3D5%3E575M%3Ctd+colspan%3D3%3E%3Ctr%3E%3Ctd+colspan%3D4%3EAmerica%3Ctd+colspan%3D2%3E330%3Ctd+colspan%3D2%3E365%3Ctd+colspan%3D4%3E%3Ctd+colspan%3D4%3E599%3Ctr%3E%3Cth%3E2%2B2%3Ctd+colspan%3D4%3E250GT%3Ctd+colspan%3D3%3E330GT%3Ctd+colspan%3D4%3E365GT%3Ctd+colspan%3D2%3EGTC%2F4%3Ctd+colspan%3D3%3EGT4%3Ctd+colspan%3D3%3E400%3Ctd+colspan%3D6%3E400i%3Ctd+colspan%3D5%3E412%3Ctd+colspan%3D2%3E%3Ctd+colspan%3D6%3E456%3Ctd+colspan%3D6%3E456+M%3Ctd+colspan%3D6%3E612%3Ctr%3E%3Cth+rowspan%3D1%3EV8%3Ctd+colspan%3D10%3E%3Ctd+colspan%3D10%3E%3Ctd+colspan%3D10%3E%3Ctd+colspan%3D10%3E%3Ctd+colspan%3D9%3E%3Ctd+colspan%3D1%3ECalifornia%3Ctr%3E%3Cth+rowspan%3D4%3ERMR%3Cth+rowspan%3D2%3EV6%2FV8%3Ctd+rowspan%3D2+colspan%3D7%3E%3Ctd+rowspan%3D2+colspan%3D2%3EDino+206%3Ctd+colspan%3D6%3EDino+246+GT%3Ctd+colspan%3D4%3E308GTB%3Ctd+colspan%3D2%3E308i%3Ctd+colspan%3D4%3E308+QV%3Ctd+colspan%3D4%3E328%3Ctd+colspan%3D7%3E348%3Ctd+colspan%3D3%3E%3Ctd+colspan%3D7%3E360%3Ctd+col 
span%3D4%3E%3Ctr%3E%3Ctd+colspan%3D1%3E%3Ctd+colspan%3D2%3E%3Ctd+colspan%3D3%3E246+GTS%3Ctd+colspan%3D2%3E%3Ctd+colspan%3D2%3E308+GTS%3Ctd+colspan%3D4%3E208%3Ctd+colspan%3D3%3E208+Turbo%3Ctd+colspan%3D4%3EGTB%2FGTS+Turbo%3Ctd+colspan%3D4%3E%3Ctd+colspan%3D6%3EF355%3Ctd+colspan%3D4%3E%3Ctd+colspan%3D6%3EF430%3Ctr%3E%3Cth%3E2%2B2%3Ctd+colspan%3D10%3E%3Ctd+colspan%3D3%3E%3Ctd+colspan%3D7%3EDino+GT4%3Ctd+colspan%3D2%3EMondial+8%3Ctd+colspan%3D3%3EMondial+QV%3Ctd+colspan%3D4%3E3.2+Mondial%3Ctd+colspan%3D5%3EMondial+t%3Ctd+colspan%3D6%3E%3Ctd+colspan%3D10%3E%3Ctr%3E%3Cth%3Eflat-12%3Ctd+colspan%3D10%3E%3Ctd+colspan%3D3%3E%3Ctd+colspan%3D3%3E365BB%3Ctd+colspan%3D5%3E512+BB%3Ctd+colspan%3D3%3E512i+BB%3Ctd+colspan%3D7%3ETestarossa%3Ctd+colspan%3D3%3E512TR%3Ctd+colspan%3D2%3EF512M%3Ctd+colspan%3D4%3E%3Ctd+colspan%3D10%3E%3Ctr%3E%3Cth+colspan%3D2+rowspan%3D2%3EHalo+model%3Ctd+colspan%3D2+rowspan%3D2%3E%3Ctd+colspan%3D3+rowspan%3D2%3E250+GTO%3Ctd+colspan%3D2+rowspan%3D2%3E250+LM%3Ctd+colspan%3D3+ 
rowspan%3D2%3E%3Ctd+colspan%3D10+rowspan%3D2%3E%3Ctd+colspan%3D4+rowspan%3D2%3E%3Ctd+colspan%3D2+rowspan%3D2%3E288+GTO%3Ctd+colspan%3D1+rowspan%3D2%3E%3Ctd+colspan%3D6+rowspan%3D2%3EF40%3Ctd+colspan%3D2%3E%3Ctd+colspan%3D3%3EF50%3Ctd+colspan%3D2%3E%3Ctd+colspan%3D3+rowspan%3D2%3E%3Ctd+colspan%3D3+rowspan%3D2%3EEnzo+Ferrari%3Ctd+colspan%3D1+rowspan%3D2%3EFXX%3Ctd+colspan%3D3+rowspan%3D2%3E%3Ctr%3E%3Ctd+colspan%3D3%3E%3Ctd+colspan%3D1%3EF50+GT%3Ctd+colspan%3D3%3E%3C%2Ftable%3E&algorithm=smartheaders

Another example where the rule implemented in response by Gez's table  
doesn't work (though in the column axis).

-- 
Simon Pieters
Opera Software
Received on Monday, 27 October 2008 09:49:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:58 UTC