This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 91 - Support for Validating CSS.
Summary: Support for Validating CSS.
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: 0.6.0
Hardware: All All
: P5 enhancement
Target Milestone: 1.0
Assignee: Terje Bless
QA Contact: qa-dev tracking
Depends on:
Reported: 2002-11-26 23:36 UTC by Terje Bless
Modified: 2006-10-31 06:15 UTC (History)
0 users

See Also:


Description Terje Bless 2002-11-26 23:36:53 UTC
Given the sad state of the CSS Validator, and the desire for a uniform interface
to these two functions, it would be great to enable the Validator to parse and
Validate CSS.

It might be done by writing a Parser from scratch -- using either Chapter 4 of
CSS21 or the CSS3 Syntax module -- or by creating a SGML Application for CSS.

The CSS syntax is generic and checking it might be compared to XML's
"well-formedness" checking, with further checking akin to XML's "Valid" concept.
The generic syntax is also not particularly large or complex, and the number of
selectors, properties, etc. in CSS is far less overwhelming when considered in
the context of a validator/parser then when considering implementing a renderer
or applying the stylesheet to a web page.

With a modular parser backend for the Validator, having CSS be one of the
avilable parsers seems both appropriate and, not the least, actually _doable_.
Comment 1 Terje Bless 2003-05-23 12:57:43 UTC
Target 1.0 for review post-0.7. Things are possibly happening over in the CSS
Validator so this may not be relevant by that time.
Comment 2 Olivier Thereaux 2006-10-31 06:15:36 UTC
obsolete issue, now that the CSS validator is receiving some decent care, and CSS +markup validation are joined in unicorn project. Let's keep the markup validator focusing on markup.