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 8626 - CSS validation: @import rules are processed by the CSS validator
Summary: CSS validation: @import rules are processed by 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 normal
Target Milestone: ---
Assignee: fd
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-04 13:24 UTC by fd
Modified: 2010-01-04 13:55 UTC (History)
0 users

See Also:


Attachments

Description fd 2010-01-04 13:24:30 UTC
The CSS validator is designed to process @import rules that appear in the CSS content and retrieve and test the corresponding resources. The mobileOK Checker already processes the @import rules and validates the resources one after the other.

The CSS validator should thus be instructed not to process @import rules. There is no explicit way to do that, but the CSS validator typically does not process such rules when the URL of the CSS content uses the "file" protocol, because it supposes that "direct input" was used in that case.

Actually, this is slightly wrong and quite misleading. I have filed two requests for enhancement (Bug 8624 and Bug 8625). In the meantime, the mobileOK Checker should send a "file" URL to the CSS validator when it validates CSS content.
Comment 1 fd 2010-01-04 13:55:05 UTC
The following URL is now sent to the CSS Validator with the actual CSS content:
 file://example.org/