Re: The script language attribute

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