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 5090 - Invalid clip links to specification that says it is actually valid
Summary: Invalid clip links to specification that says it is actually valid
Status: RESOLVED DUPLICATE of bug 4090
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.1 (show other bugs)
Version: CSS Validator
Hardware: PC Windows XP
: 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-09-29 22:26 UTC by TarquinWJ
Modified: 2007-09-30 07:30 UTC (History)
0 users

See Also:


Attachments

Description TarquinWJ 2007-09-29 22:26:44 UTC
#foo { clip: rect(0 250px 20px 0); clip: rect(0,250px,20px,0); }
CSS validator says:
"Value Error : clip Invalid separator in shape definition. It must be a comma. : rect(0 250px 20px 0)"
The word "clip" 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:
"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."
Comment 1 Olivier Thereaux 2007-09-30 07:30:48 UTC
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 ***