[Bug 3632] Validator incorrectly reports validity for case of escaped final close-) in url()

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

           Summary: Validator incorrectly reports validity for case of
                    escaped final close-) in url()
           Product: CSSValidator
           Version: CSS Validator
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS 2.0
        AssignedTo: ot@w3.org
        ReportedBy: cecil@cecilward.com
         QAContact: www-validator-cvs@w3.org


Test case checked using direct input mode, grammar CSS2 selected:

Test cases :

element { background-image: url(myimage\) ; }

I believe that the above example is illegal, if my reading of CSS 2.1 and CSS 2
is correct, yet the validator reports no error.

Reasoning: the escaped close-) should be treated as part of the contents of the
url, and an additional closing-) is still required. See the production for
"url" in CSS2 section D.2.


Regards,

Cecil Ward.

Received on Saturday, 26 August 2006 00:26:15 UTC