W3C home > Mailing lists > Public > www-validator-css@w3.org > August 2006

Validator incorrectly reports validity for case of escaped final close-) in url()

From: Cecil Ward <cecil@cecilward.com>
Date: Sun, 20 Aug 2006 21:44:02 +0100
To: <www-validator-css@w3.org>
Message-ID: <000701c6c499$5ee8e700$0500a8c0@cecilibmr51>

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.


Cecil Ward.
Received on Monday, 21 August 2006 15:46:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:00:57 UTC