<?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>3127</bug_id>
          
          <creation_ts>2006-04-21 05:45:18 +0000</creation_ts>
          <short_desc>Source output escapes backslashes where it should not</short_desc>
          <delta_ts>2008-03-28 09:12: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>Other</component>
          <version>CSS Validator</version>
          <rep_platform>All</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="Olivier Thereaux">ot</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>9353</commentid>
    <comment_count>0</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2006-04-21 05:45:18 +0000</bug_when>
    <thetext>if a line in the css source begins with a backslash, the section with the output of the Valid CSS information omits it, thus making the code shown (often) invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19631</commentid>
    <comment_count>1</comment_count>
    <who name="Yves Lafon">ylafon</who>
    <bug_when>2008-03-27 17:52:23 +0000</bug_when>
    <thetext>I would need more information there.
\foo { color: red; } will be seen as unicode \f followed by oo,
while \oof will be recognized as &apos;oof&apos;

See http://www.w3.org/TR/CSS21/grammar.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19636</commentid>
    <comment_count>2</comment_count>
    <who name="Yves Lafon">ylafon</who>
    <bug_when>2008-03-28 09:12:04 +0000</bug_when>
    <thetext>Fixed by changing the convertIdent to canonicalize instead of creating unicode characters.
Here is an example that now works:
\foo {
color: green;
}
now gives 
\00000foo {
color: green;
}
(a valid output).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>