W3C home > Mailing lists > Public > www-validator-css@w3.org > January 2016

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

From: Lemburg, Martin <martin.lemburg@siemens.com>
Date: Thu, 7 Jan 2016 08:45:50 +0000
To: "www-validator-css@w3.org" <www-validator-css@w3.org>
Message-ID: <6B1A000DC6FAE34E8BD2354262EB50EF205DCD22@DEKOMMBX002.net.plm.eds.com>

I always used the CSS validator at …


My colleague now used …


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

+49 (0)30 467775-22


+49 (0)30 467775-11




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
Received on Friday, 8 January 2016 13:30:11 UTC

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