W3C home > Mailing lists > Public > public-html@w3.org > May 2008

Re: Document conformance and non-empty <script src>

From: Philip TAYLOR (Ret'd) <P.Taylor@Rhul.Ac.Uk>
Date: Thu, 15 May 2008 12:53:16 +0100
Message-ID: <482C242C.1080700@Rhul.Ac.Uk>
To: Simon Pieters <simonp@opera.com>
CC: Ian Hickson <ian@hixie.ch>, "public-html@w3.org" <public-html@w3.org>



Simon Pieters wrote:
> 
> 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 "//".

I respectfully disagree; a simple test using Seamonkey

javascript:alert("<!--");
Received on Thursday, 15 May 2008 11:54:03 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:31 UTC