W3C home > Mailing lists > Public > www-validator-css@w3.org > August 2013

Re: W3C: radial-gradient is not a background-image value

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Thu, 22 Aug 2013 16:50:26 +0300
Message-ID: <52161722.9080509@cs.tut.fi>
To: John Munro <mrwizard@wizardstower.co.uk>
CC: www-validator-css@w3.org
2013-08-21 16:51, John Munro wrote:

> I'm getting a W3C validator error regarding using gradients in
> background-image:
>
> Inline image 1

You should post the CSS code and/or URL, not an image (which was hard to 
read in this case).

I can confirm that there is a bug in the CSS Validator: the code

html { background-image: radial-gradient(ellipse farthest-corner at 
center, #ffffff 0%,#f5f5f5 0%, #e1e1e1 100%)}

is reported as erroneous, with the message

Value Error : background-image ellipse farthest-corner at center is not 
a radial-gradient value )

This bug was reported in the list in April:
http://lists.w3.org/Archives/Public/www-validator-css/2013Apr/0001.html
There have been no comments to it, as far as I can see. CSS Image Values 
and Replaced Content Module Level 3 has been Candidate Recommendation 
since 17 April 2012, so it should be regarded as part of "CSS3" as far 
as CSS validation is concerned.

> If I'm reading the spec
> <http://www.w3.org/TR/css3-images/#radial-gradients> right I think this
> should be allowed.

That's correct.

Yucca
Received on Thursday, 22 August 2013 13:50:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:01:14 UTC