W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2001

<script> bug?

From: April <awhite@mail.rosecom.ca>
Date: Fri, 25 May 2001 18:10:22 -0400
Message-ID: <3B0ED84E.C73EBECF@mail.rosecom.ca>
To: tidy <html-tidy@w3.org>
I am experimenting with interfacing the COM with a small HTML editor
I'm playing with in visual basic, and I am quite pleased with the
so far.

I do question the interpretation & correction of:

<script language="JavaScript">

which becomes:

<script type="text/javascript" language="JavaScript">

If I use:

<script language="VBScript">

it remains unchanged!  If I examine the warnings / errors returned by
the COM, it states that a 'type' is missing, but if I examine the
html content, there is no script type added.

I guess I have two questions:
1.  is the 'type="text/javascript"' correct, or should it be
2. is the behaviour with VBScript a bug?

Thank you

p.s. I've just joined the list
Received on Friday, 25 May 2001 18:10:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:50 UTC