Re: width="n*" marked invalid on <COL>

* Terry Teague wrote:
>Looking at the code, the CheckLength() function in attrs.c doesn't allow
>for the relative form of the multilength attribute value type (n*).

The problem is that there are different attribute content models for
attributes with the same name, while Tidy assumes there is a unique
name => content model relationship. We should treat 'width' for 'col'
and 'colgroup' different. There is a similar problem, the attribute
'rows' is checked for a 'number', since the textarea element expects a
number in this attribute, but this conflicts with the 'rows' attribute
for the 'frameset' element, same for attribute 'cols'. 

Someone to enter this in the bug tracker and I'll have a look at it.
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/

Received on Saturday, 12 January 2002 13:27:06 UTC