Re: CSS validator bugs

On Fri, Sep 4, 2009 at 23:05, David Woolley<forums@david-woolley.me.uk> wrote:
> Keryx Web wrote:
>
>> foo {
>>   color: pink;
>> }
>>
>> And many other legitimate color names.
>
> "pink" is not a valid colour name in CSS.
>
> <http://www.w3.org/TR/CSS21/syndata.html#color-units>
> <http://www.w3.org/TR/2008/WD-css3-color-20080721/#html4>

It's one of the SVG color keywords, see
http://www.w3.org/TR/2008/WD-css3-color-20080721/#svg-color

Validating against the CSS3 profile currently reports this as an error.

-- 
David Håsäther

Received on Friday, 4 September 2009 21:14:01 UTC