W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2009

Re: ISSUE-2275 (script_type_processing): Define processing for @type in script elements [SVG Core 2.0]

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 3 Jun 2009 12:27:53 +1000
To: public-svg-wg@w3.org
Message-ID: <20090603022753.GC13352@arc.mcc.id.au>
Chris Lilley:
> Incidentally, why is HTML5 making the default be text/javascript
> rather than application/ecmascript?

The argument is:

  * Processing requirements for text/javascript and
    application/ecmascript don’t differ in HTML 5.

  * RFC 4239 is not referenced because it makes requirements that are
    incompatible with some requirements in HTML 5, such as determining
    encoding of scripts.

  * The name "text/javascript" is much more widely used in practice.

  * Changing the default script type to application/ecmascript then
    would not result in changes to implementation requirements, so
    given that text/javascript is used more widely, that is what is

Some IRC discussion that teased these arguments out:


Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 3 June 2009 02:30:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:29:41 UTC