W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2007

[Bug 5090] Invalid clip links to specification that says it is actually valid

From: <bugzilla@wiggum.w3.org>
Date: Sat, 29 Sep 2007 22:26:44 +0000
CC:
To: www-validator-cvs@w3.org
Message-Id: <E1Ibklo-0001cT-Us@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5090

           Summary: Invalid clip links to specification that says it is
                    actually valid
           Product: CSSValidator
           Version: CSS Validator
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS 2.1
        AssignedTo: dave.null@w3.org
        ReportedBy: tarquinwj@gmail.com
         QAContact: www-validator-cvs@w3.org


#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."
Received on Saturday, 29 September 2007 22:26:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 10 December 2014 20:08:28 UTC