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

Re: background: url() no-repeat [negative length] [keyword] throws error

From: David Dorward <david@dorward.me.uk>
Date: Mon, 3 Jul 2006 09:35:25 +0100
To: Jeroen Visser | vizi <j.visser@vizi.nl>
Cc: www-validator-css@w3.org
Message-ID: <20060703083524.GA9752@us-lot.org>

On Sun, Jul 02, 2006 at 03:16:01PM +0200, Jeroen Visser | vizi wrote:
> In the specs it states:
> "Combinations of keyword, length and percentage values are allowed, 
> (e.g., '50% 2cm' or 'center 2cm' or 'center 10%'). For combinations of 
> keyword and non-keyword values, 'left' and 'right' may only be used as 
> the first value, and 'top' and 'bottom' may only be used as the second 
> value. Negative positions are allowed."
> <http://www.w3.org/TR/CSS21/colors.html#background-properties>

That is the CSS 2.1 working draft. By default the validator uses the
most recent recomendation, which is CSS 2. CSS 2 does not all keyword
values to be mixed with length/percentage values.

If you select the CSS 2.1 profile from the advanced interface then the
CSS 2.1 syntax you are using will be accepted.

(I read the mailing list, please direct responses there and do not CC
me. Thanks)

-- 
David Dorward                                      http://dorward.me.uk
Received on Monday, 3 July 2006 08:35:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:17 GMT