W3C home > Mailing lists > Public > www-validator@w3.org > July 2004

Re: CSS validity

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 12 Jul 2004 17:30:46 +0300 (EEST)
To: www-validator@w3.org
Cc: niko.holopainen@lomaosake.fi
Message-ID: <Pine.GSO.4.58.0407121723100.10519@korppi.cs.tut.fi>

On Mon, 12 Jul 2004, David Dorward wrote:

> Validation, in the context of (X)HTML, refers specifically to its
> conformance to the DTD. The width and height attributes are distinctly
> optional. This is not a validation error.

Quite right, and in practical terms "CSE Validator" is just wrong in its
claim that those attributes would always be needed or useful; they may
even cause damage when the ALT text is long as compared with the image
dimensions.

On the other hand, if you wish to make sure you use those attributes for
all images (which is very sensible e.g. for an image gallery, since it
speeds up rendering), you can use a customized DTD where you declare those
attributes as REQUIRED.

> I'm not aware of any license restriction on the images provided by the
> validation service which demand they only be included using the
> specific (X)HTML the service outputs.

As far as I remember, the license only requires that the image be made a
link to the validation service and that it be used only when the page
actually validates, which is very often not the case - and this is one
of the many reasons for abhorring the use of such icons.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Monday, 12 July 2004 10:30:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:14 GMT