<?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>5090</bug_id>
          
          <creation_ts>2007-09-29 22:26:44 +0000</creation_ts>
          <short_desc>Invalid clip links to specification that says it is actually valid</short_desc>
          <delta_ts>2007-09-30 07:30:48 +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>CSS 2.1</component>
          <version>CSS Validator</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>4090</dup_id>
          
          <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="TarquinWJ">tarquinwj</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>16881</commentid>
    <comment_count>0</comment_count>
    <who name="TarquinWJ">tarquinwj</who>
    <bug_when>2007-09-29 22:26:44 +0000</bug_when>
    <thetext>#foo { clip: rect(0 250px 20px 0); clip: rect(0,250px,20px,0); }
CSS validator says:
&quot;Value Error : clip Invalid separator in shape definition. It must be a comma. : rect(0 250px 20px 0)&quot;
The word &quot;clip&quot; is a link to the CSS 2.0 definition of clip, which due to a mistake, says it should be a space, not a comma. This was fixed in CSS 2.1, but validator links to the buggy version (amongst other things, it also says that clip only applies to block-level and replaced elements with non-visible overflow, none of which are corrected in the errata).

Since the idea of making the style name into a link is to let the author see the correct syntax, it would be better to link to the specification that does not have the mistake.

CSS 2.1 says:
&quot;User agents must support separation with commas, but may also support separation without commas, because a previous revision of this specification was ambiguous in this respect.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16885</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-09-30 07:30:48 +0000</bug_when>
    <thetext>This is a problem that is getting a temporary fix in an upcoming version.
Thanks for your report.

*** This bug has been marked as a duplicate of bug 4090 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>