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 7203 - Use latest version of the CSS validator
Summary: Use latest version of the CSS validator
Status: RESOLVED FIXED
Alias: None
Product: mobileOK Basic checker
Classification: Unclassified
Component: Java Library (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 enhancement
Target Milestone: ---
Assignee: fd
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-03 14:42 UTC by fd
Modified: 2009-08-04 09:39 UTC (History)
0 users

See Also:


Attachments

Description fd 2009-08-03 14:42:44 UTC
The CSS validator used by the mobileOK Checker is a 18-month-old version because the then-latest version of the code contained a bug that prevented its use from within the mobileOK Checker JAR.

A newer version of the CSS validator is available that fixes this bug. See:
 http://lists.w3.org/Archives/Public/public-mobileok-checker/2009Jan/0004.html

It also features a number of bug fixes that would be valuable for the mobileOK Checker.
Comment 1 fd 2009-08-03 15:45:39 UTC
lib/css-validator.jar updated.

Latest CSS validation messages are usually more precise than the former ones, except that the latest version returns a "Parse Error" when it parses something like:
 "@unknown handheld { p { margin: 1em; }}"

The previous version used to return a clearer "@unknown at-rule not supported" message.

See STYLE_SHEETS_USE 8 in test suite.

Comment 2 fd 2009-08-04 09:39:08 UTC
CSS validation errors returned by the CSS validator now follow a slightly different scheme. The mobileOK Checker used to identify parse errors based on the absence of a message in a CSS error, but the message now always contains a "Parse Error" string.

New rules implemented in CSSUtils.java