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

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 UTC