W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2002

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

From: Fred Bone <Fred.Bone@dial.pipex.com>
Date: Wed, 9 Jan 2002 11:02:08 -0000
To: html-tidy <html-tidy@w3.org>
Message-ID: <3C3C2330.3680.3ACFD0@localhost>
On 9 Jan 2002 at 9:55, Neil Bird wrote:

> Around about 01/09/02 08:21, Terry Teague scribbled ...
> 
> > 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 fix
> > probably should only allow the relative form for HTML 4.0 or later.
> 
>    This fixes it (or, at least, allows it):

[...]
>    ... but,
> 
> a) is that right for the version check?
> 
> b) it doesn't limit it to <COL> (and what else?)

<COLGROUP>. And nothing else. See the dtd:
 <http://www.w3.org/TR/REC-html40/sgml/dtd.html#MultiLength>

> 
> c) shouldn't it stop parsing the length upon the % or *? 
> Otherwise "123*456" is deemed valid, isn't it?

Yes it should.
Received on Wednesday, 9 January 2002 06:03:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:51 GMT