Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between http://jigsaw.w3.org/css-validator/ and http://www.css-validator.org/ CSS validators?

I tried validating my CSS using both validators and they give different results! http://www.css-validator.org/ returns much more errors (245 in my case) than http://jigsaw.w3.org/css-validator/ (which returned 24 errors).
What is the difference between these to? Aren't they both under W3C?

Options I used for http://jigsaw.w3.org/css-validator/:

  • Profile: CSS level 3
  • Medium: all
  • Warnings: all
  • Vendor extensions: default

I also tried changing Vendor extensions value, if I set it to Errors I get about 100 errors, if I set it to warnings I get same amount of errors as when default, which is 24.

Options I used for http://www.css-validator.org/:

  • Profile: CSS level 3
  • Medium: all
  • Warnings: all

Examples of errors not returned by css-validator.org but not by jigsaw.w3.org:

  • ".kill-flicker: Property backface-visibility doesn't exist : hidden hidden"
  • ": Unknown pseudo-element or pseudo-class ::-moz-focus-inner [-moz-focus-inner]"
like image 392
Martinsos Avatar asked Oct 28 '14 10:10

Martinsos


People also ask

What does CSS Validator do?

A CSS validator checks your Cascading Style Sheets to make sure that they comply with the CSS standards set by the W3 Consortium. There are a few validators which will also tell you which CSS features are supported by which browsers (since not all browsers are equal in their CSS implementation).

What is a vendor extension CSS?

A vendor specific extensions can start with a “-” (dash) or a “_” (underscore), usually followed by an abbreviation of the company or the browser project the extension is specific for, f.i. “-moz-” for Mozilla browsers, or “-webkit-” for WebKit based browsers.


1 Answers

http://jigsaw.w3.org/css-validator/ is hosted by the W3C. It’s the official CSS validator, linked from http://validator.w3.org/.

http://www.css-validator.org/ is not hosted by the W3C (*). It’s misleading because they use the same branding (almost identical site copy, except for additional advertisement/Facebook widget).

They may or may not use the same validator code, as the code is FLOSS.


* as confirmed by a (back then) W3C staff member

like image 52
unor Avatar answered Sep 30 '22 16:09

unor