- From: Simon Pieters <simonp@opera.com>
- Date: Thu, 15 May 2008 13:39:44 +0200
- To: "Philip TAYLOR (Ret'd)" <P.Taylor@rhul.ac.uk>
- Cc: "Ian Hickson" <ian@hixie.ch>, "public-html@w3.org" <public-html@w3.org>
On Thu, 15 May 2008 09:28:50 +0200, Philip TAYLOR (Ret'd) <P.Taylor@Rhul.Ac.Uk> wrote: > > > Simon Pieters wrote: > >> Note though that // and <!-- are also javascript comments. > > Can you provide a reference for the latter assertion ? > SAMS "Pure JavaScript" makes no mention of "<!--", > although it documents "//" and "/* ... */". It's not specced anywhere AFAIK, but de facto it's equivalent to "//". See http://tc.labs.opera.com/ecmascript/html-comments/ . (Some browsers also treat "-->" magically, I think, but that might not be needed for Web compat.) -- Simon Pieters Opera Software
Received on Thursday, 15 May 2008 11:49:15 UTC