[whatwg] [html5] 2.20.1. The datagrid element

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