W3C home > Mailing lists > Public > public-html@w3.org > June 2007

Re: headers attribute

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 4 Jun 2007 21:52:05 +0000 (UTC)
To: Thomas Broyer <t.broyer@gmail.com>
Cc: public-html@w3.org
Message-ID: <Pine.LNX.4.64.0706042151120.13385@dhalsim.dreamhost.com>

On Mon, 4 Jun 2007, Thomas Broyer wrote:
> 
> 2007/6/4, Leif Halvard Silli:
> > 
> > And does anyone know what happens if I put SCOPE on a TH within the 
> > THEAD element. And then add SCOPE to the correpsonding TH in same 
> > column in the TFOOT element, in HTML5 (or in HTML4)? A cell in this 
> > column would then be scoped from top and from bottom. In the code, it 
> > would come after the SCOPE in the THEAD.
> 
> HTML5 defines scope= in terms of "slots". If you put <tfoot> before 
> <tbody> in the <table>, then all your data cells will be associated with 
> header cells in both <thead> and <tfoot>. On the other hand, if you put 
> <tfoot> after <tbody>s, then you data cells will be associated with 
> header cells only in <thead>, and header cells in <tfoot> won't be 
> column headers of any data cells.
> 
> At least that's how I read the algorithms with the "Processing model" 
> section 
> <http://www.whatwg.org/specs/web-apps/current-work/multipage/section-tabular.html#processing>

Oops, yeah, that algorithm should move <tfoot> blocks to the end of the 
table. That's a bug. Assume that it is done. I'll fix it when I next work 
on the table section.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 4 June 2007 21:52:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:00 GMT