Difference in validation between www.css-validator.org and https://jigsaw.w3.org/css-validator

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Difference in validation between www.css-validator.org and https://jigsaw.w3.org/css-validator

Lemburg, Martin

Hi,

 

I always used the CSS validator at …

 

https://jigsaw.w3.org/css-validator/validator

 

My colleague now used …

 

http://www.css-validator.org/validator

 

But those differ in the validation result for a very simple example:

 

div {

    box-shadow: 0 -10px 8px 4px;

}

 

The first validator claims to see no problem in the CSS example, while the second validator returns an error:

 

0 is not a box-shadow value : 0 -10px 8px 4px 0 -10px 8px 4px

 

Isn’t it the way, that CSS allows to omit the unit for zero values?

 

Best regards,

 

Martin Lemburg

Advanced Software Engineer

Siemens Industry Software GmbH

Digital Factory Division

Product Lifecycle Management

Manufacturing Engineering Software / R&D / Plant Simulation

Nonnendammallee 101 // Bauteil C, 5. OG., Raum C5174
D-13629 Berlin

Tel.:

+49 (0)30 467775-22

Fax.:

+49 (0)30 467775-11

E-Mail:

[hidden email]

http://www.siemens.com/plm

 

-----------------
Siemens Industry Software GmbH; Anschrift: Franz-Geuer-Str. 10, 50823 Köln; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Urban August, Daniel Trebes; Sitz der Gesellschaft: Köln; Registergericht: Amtsgericht Köln, HRB 84564

Reply | Threaded
Open this post in threaded view
|

Re: Difference in validation between www.css-validator.org and https://jigsaw.w3.org/css-validator

David Dorward-3

On 7 Jan 2016, at 8:45, Lemburg, Martin wrote:

https://jigsaw.w3.org/css-validator/validator
http://www.css-validator.org/validator

But those differ in the validation result for a very simple example:

The first URL points to the W3C provided instance of the open source CSS validator software.

The second URL points to a third party hosted instance of it (the domain is registered to a company called "Yes We Can") and is running an older version of the software (old enough that it defaults to CSS 2.1).

--
David Dorward
http://dorward.co.uk/


signature.asc (886 bytes) Download Attachment