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

Re: Validator incorrectly reports validity for case of escaped close-quote which leaves quoted string unterminated

From: Bert Bos <bert@w3.org>
Date: Tue, 22 Aug 2006 14:54:56 +0200
To: www-validator-css@w3.org
Message-Id: <200608221454.56299.bert@w3.org>

> element { background-image: url("myimage\") ; }
>
> element { background-image: url('myimage\') ; }
>
> selector { font-family: "MyFont3\",  Serif;  }
>
> I believe that the above examples are all illegal, if my reading of
> CSS 2.1 and CSS 2 is correct, yet the validator reports no error.

Yes, the escaped quotes are part of the string and do not close it. 
Which means these strings are all missing a closing quote.



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Tuesday, 22 August 2006 12:55:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:17 GMT