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

> 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 UTC