W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2005

[whatwg] [html5] 2.20.1. The datagrid element

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 1 May 2005 19:24:34 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0505011922150.26870@dhalsim.dreamhost.com>
On Sun, 1 May 2005, Anne van Kesteren wrote:
> > 
> > It returns 0, because the table contains neither tbody nor tr 
> > children.
> 
> I was wondering if that was desired.

It was intended. Whether it is desired or not, I am not 100% sure. I'm 
open to alternate algorithms.


> > As the spec says: The colspan and rowspan attributes are ignored by 
> > this algorithm.
> > 
> > Datagrids in common GUIs aren't capable of complex column captions 
> > like the above. How would you change the spec to work with the above?
> 
> Don't check THEAD for such data.

This would mean having to do a search of every element in the <thead> 
before knowing whether to use it or not. This would be very bad for 
performance. Also, it's unclear to me what you would look for -- colspan 
attributes with values that don't convert to numeric 1?


> And also, perhaps it would be useful to check COLGROUP and COL elements 
> first...

Check them for what?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 1 May 2005 12:24:34 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:41 UTC