Re: Please clarify that type=text/javascript is optional

On Thu, 22 May 2008, Henri Sivonen wrote:
> 
> > When used to include dynamic scripts, the scripts may either be 
> > embedded inline or may be imported from an external file using the src 
> > attribute. If the language is not that described by "text/javascript", 
> > then the type of the script's language must be given using the type 
> > attribute.
> > 
> > When used to include script data, the script data must be embedded 
> > inline, the format of the data must be given using the type attribute, 
> > and the src attribute must not be specified.
> 
> It isn't quite clear if type=text/javascript is optional as far as 
> conformance goes. (It should be optional.)

Fixed, I hope.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 5 August 2008 20:41:18 UTC