<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>5172</bug_id>
          
          <creation_ts>2007-10-10 01:06:36 +0000</creation_ts>
          <short_desc>validated source display shows internal $rule.Selectors</short_desc>
          <delta_ts>2007-10-10 01:15:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSSValidator</product>
          <component>Templates</component>
          <version>CSS Validator</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Olivier Thereaux">ot</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>17108</commentid>
    <comment_count>0</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-10-10 01:06:36 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17109</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-10-10 01:15:04 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>