W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2006

Re: Your own example doesn't validate

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 27 Feb 2006 16:09:48 +0200 (EET)
To: www-validator-css@w3.org
cc: John Smal <john@smal.org>
Message-ID: <Pine.GSO.4.64.0602271604040.17126@korppi.cs.tut.fi>

On Mon, 27 Feb 2006, Bjoern Hoehrmann wrote:

> The text above the text area is "Enter the CSS you would like
> validated:". Did you paste CSS or HTML into the area? From the
> error mesage above it seems you pasted HTML. That does not work.

The instruction is clear as such, but maybe the "CSS" part should be 
emphasized. After all, it is not quite logical that I can submit either 
HTML or CSS via URL, whereas via file upload or direct text area input 
only CSS can be submitted. There's surely some good explanation to this, 
but it's not intuitive - if the software can parse HTML and extract CSS 
from it via HTTP, I'd expect it to handle the apparently simpler case of 
doing so in direct input, too.

By the way, the example mentioned is a bad example. It sets the color of 
an element without worrying about backgrounds at all, and thus it triggers 
a warning. This is of course a different issue - a matter of 
specifications, not tools - but I'm afraid some people might ask "why does 
a W3C tool complain about an example in a W3C spec?"

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Monday, 27 February 2006 14:10:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:41 UTC