(Translated by https://www.hiragana.jp/)
The Fuji CSS Validator release - W3C Blog
The Wayback Machine - https://web.archive.org/web/20110926063040/http://www.w3.org:80/QA/2006/12/the_fuji_css_validator_release.html

« The New Voyagers - Find Information about Web standards | Main | Reinventing HTML: Update »

The Fuji CSS Validator release

Screenshot of the validator

Did you start to hear here and there songs flowing in the streets? Yes it is christmas. Olivier Théreaux and Jean-Guilhem Rouel (W3C), and Peter Zhelezniakov (Sun Microsystems) worked hard with help from users, translators, developers to offer a new version of the CSS validator just in time for the 10 years anniversary of CSS.

This new layout was designed a few months ago, and you may have seen it already if you have used the preview of Unicorn, the future swiss-knife for all your Web documents checking needs.

Fuji Logo

The mountain showing in the banner is the Mont Fuji as we can see it from the W3C Office in Japan, hosted by Keio University. It is barely visible during summer time, but every winter morning, it shines on the horizon line, covered with snow.

Real-World CSS: CSS 2.1

Until now, the CSS validator was able to check stylesheets in all flavours of CSS including CSS 3 and SVG stylesheets, but by default, it would validate against CSS 2.0, the latest fully standardized CSS.

While CSS 2.1 is still under development, it is already the stylesheet language of choices for real world Web designers. CSS 2.1 is also reflecting the current state of implementations in browsers. Therefore, the validator now by default checks stylesheets against the CSS 2.1 specification.

Warnings and Errors

Errors UI in Chinese

The CSS validator does not only check for mistakes in CSS syntax, it also tries to warn its users upon finding constructs that are deprecated, dangerous, or potentially inaccessible. For these checks, the validator issues warnings.

The warnings were never very well explained or introduced, and some of the warnings about potential accessibility issues such as the lack of background color declaration were confusing. We made these warnings less visible (one can still trigger them with the "show all warnings" option) and we will be working to make the tests smarter.

Warning UI in English

We have redesigned results layouts, adopting a similar style for errors and warnings. The validator now displays the warnings in the following fashion:

There are three levels of warnings identified by shades of light red: more important (darker) to less important (lighter).

Errors unlike warnings have no levels. They have to be fixed in any cases.

A World Wide Tool for a World Wide Web

Languages List

English only tools are impossible to use for the majority of people. Warnings or error messages, or even a user interface in a foreign language slow down the adoption of good practices. With the tremendous efforts of volunteers, the user interface and documentation as well as error and warning messages have been translated in the following languages: German, Spanish, French, Dutch, Japanese, Chinese, and now also in Polish and Italian. The more, the merrier: if you want to volunteer for another language, please visit the wiki page for translations.

What's next? We need you!

The CSS Validator is one of the many open source tools developed by W3C and led by the enthusiasm of the Web community. If you would like to make it an even better tool, join the www-validator-css mailing list: We need Java coders to fix bugs and refactor the code, translators to localize it, good writers for usable documentation, and spirited users to keep the community moving forward.

Filed by Karl Dubost on December 18, 2006 8:21 AM in Tools
| | Comments (11) | TrackBacks (0)

Comments

Patrick H. Lauke # 2006-12-18

Nice work. Two small quibbles, though:

  • There seems to be no way to get to the "More Options" pseudo-link via the keyboard, making it impossible for keyboard users with javascript enabled to actually access those options
  • With javascript off, those "More Options" pseudo-links are still present, but useless. Could these not be generated via DOM scripting, so they're only there when they actually work? (and yes, injecting a proper A element into the document)
  • On the results page, warnings etc are in a table, but the table itself has no THEAD and THs for each column. Could this be added (and then hidden, i.e. absolutely positioned off-left rather than display:none, of course)?

Henrique Costa Pereira # 2006-12-19

It's a great job! I hope that as soon as possible some people could help to translate the validator to another languages. And it's a great gift to celebrate CSS 10 years old!

Cheers

Tony Author Profile Page # 2006-12-31

Shouldn't the CSS validator ignore properties that begin with a hyphen?

olivier # 2007-01-05

Patrick: agreed with the JS for "more options", David Dorward suggested a better version on the mailing-list, and we'll be following up: http://lists.w3.org/Archives/Public/www-validator-css/2006Dec/0031.html

For the thead and th, I agree with your idea. We wanted to do it but were short of time to do it well, especially since the heading texts would have to be translated in all 9 languages.

Tony: you may be interested in this thread on the mailing-list: http://lists.w3.org/Archives/Public/www-validator-css/2007Jan/thread.html#msg30

Federico # 2007-01-12

Just wanted to let you notice a "bug": The spanish version of the new validator does not use CSS 2.1 as a default. :)

olivier # 2007-01-15

Federico: Thanks!

I had not noticed this little bug. It is fixed in our development version, and will be in the official service very soon.

serlis Author Profile Page # 2007-02-16

I can help to translate CSS Validator to hebrew, if anyone interested.

Dave Hooper # 2007-04-24

I think the link to the .jar file http://www.w3.org/QA/Tools/css-validator/css-validator.jar is broken. It downloads a zip of (some of?) the source which has neither the ANT script or a .jar file.

Is there another link to the jar file?

olivier # 2007-04-25

@serlis: that would be great. Please check the translation instructions and contact me.

@Dave Hooper: my understanding is that the .jar is a zip file. Maybe your browser us unpacking it at download time?

Dave Hooper # 2007-04-26

Cheers Oliver, I've got the .jar file now. IE was interpreting it as a zip so I used firefox instead.

However I now have a second problem. When I run the css-validator I get an error: Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/tools/resourc es/ProtocolException

My limited experience of java error messages (I'm a C#/ASP.NET person) suggests that this means it's missing something from org/w3c/tools. Looking in the jar file there's only org/w3c/css.

Is this a problem with the .jar or can I get the missing libraries and tell java to use them?

Many thanks Dave

olivier # 2007-05-28

Dave: do you have all the jars listed in the prerequisites (plus tagsoup for the latest versions) in your CLASSPATH environment variable?

Leave a comment

Note: this blog is intended to foster polite on-topic discussions. Comments failing these requirements and spam will not get published. Please, enter your real name and email address. Every individual comment is reviewed by the W3C staff. This may take some time, thank you for your patience.

You can use the following HTML markup (a href, b, i, br/, p, strong, em, ul, ol, li, blockquote, pre) and/or Markdown syntax.

Your comment


About you

This page was last generated on $Date: 2011/08/12 17:00:12 $

This blog is written by W3C staff and working group participants,
 and maintained by Coralie Mercier.
Authorized parties may log in to create a new entry.
Powered by Movable Type, magpierss and a lot of Web Technology