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

Re: The script language attribute

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 14 May 2008 08:20:57 +0000 (UTC)
To: Philip Taylor <philip@zaynar.demon.co.uk>
Cc: Anne van Kesteren <annevk@opera.com>, Mihai Sucan <mihai.sucan@gmail.com>, public-html <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0805140819360.12907@hixie.dreamhostps.com>

On Wed, 14 May 2008, Ian Hickson wrote:
> On Sun, 9 Sep 2007, Philip Taylor wrote:
> > 
> > I had a quick look at 16K of the pages from dmoz.org, with results at
> > http://canvex.lazyilluminati.com/misc/stats/scripts2.html - that indicates
> > that the most popular script@language values are:
> > 
> >   "javascript"
> >   [missing attribute]
> >   "javascript1.2"
> >   "javascript1.1"
> >   "javascript1.3"
> > 
> > and the most popular script@type values are:
> > 
> >   "text/javascript"
> >   [missing attribute]
> > 
> > and all the rest are relatively insignificant (less than 0.2% of these 
> > pages, and less than VBScript).
> > 
> > Given that data, to help new UA developers to support existing content, 
> > I believe it would be good for the spec to say that 
> > language="javascript1.(1|2|3)" must be treated the same as 
> > language="javascript".
> 
> Done.

Actually Anne pointed out to me that browsers already support 
text/javascript1.3, so there's no need to do that separately, the 
concatenation in the spec is good enough. So I've reverted this change.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 14 May 2008 08:36:06 UTC

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