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

[whatwg] [html5] 2.20.1. The datagrid element

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sun, 01 May 2005 19:36:45 +0200
Message-ID: <427513AD.7020907@annevankesteren.nl>
Ian Hickson wrote:
>> What happens here:
>> 
>> [snip]
> 
> It returns 0, because the table contains neither tbody nor tr
> children.

I was wondering if that was desired.


>> This 'messes up' perfectly valid tables like:
>> 
>> [snip]
>> 
>> ... no?
> 
> 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.

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


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Sunday, 1 May 2005 10:36:45 UTC

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