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 5172 - validated source display shows internal $rule.Selectors
Summary: validated source display shows internal $rule.Selectors
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: Templates (show other bugs)
Version: CSS Validator
Hardware: Macintosh All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-10 01:06 UTC by Olivier Thereaux
Modified: 2007-10-10 01:15 UTC (History)
0 users

See Also:


Attachments

Description Olivier Thereaux 2007-10-10 01:06:36 UTC
In the new velocity-driven templates, strings starting with $ are replaced by the value if available. 

validating (as css3):
@page {
size: 8in 11in;

}

will produce the validated source display:

 @page  {
$rule.Selectors {
size : 8in 11in;
}
}

the $rule.Selectors and brackets should not be shown.
Comment 1 Olivier Thereaux 2007-10-10 01:15:04 UTC
fixed in CVS and tested. The trick was just to add a test for #if ($rule.Selectors) for velocity to skip the selectors display if there are none.

e.g patch for cli output at:
http://lists.w3.org/Archives/Public/www-validator-cvs/2007Oct/0048.html