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

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

From: Jeroen Visser | vizi <j.visser@vizi.nl>
Date: Mon, 3 Jul 2006 11:24:44 +0200
Message-Id: <4d0f2642d9bbad75a41167b9350d6df3@vizi.nl>
To: www-validator-css@w3.org

On 3 Jul 2006, at 10:35, David Dorward wrote:

> 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.

Thanks for the explanation - seems I should have dug deeper. :-)

Jeroen Visser
Received on Monday, 3 July 2006 09:24:49 GMT

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