[whatwg] [html5] 2.20.1. The datagrid element
Anne van Kesteren
fora at annevankesteren.nl
Sun May 1 10:36:45 PDT 2005
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/>
More information about the whatwg
mailing list