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

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 UTC