W3C home > Mailing lists > Public > public-html@w3.org > January 2009

Re: Determining Script Type

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 16 Jan 2009 01:09:33 +0000 (UTC)
To: Jim Jewett <jimjjewett@gmail.com>
Cc: public-html@w3.org
Message-ID: <Pine.LNX.4.62.0901160107230.7181@hixie.dreamhostps.com>

On Tue, 5 Aug 2008, Jim Jewett wrote:
>
> The current algorithm to determine script type is much clearer. 
> Remaining comments:
> 
> (1)  I would further clarify the last paragraph (of
> http://www.whatwg.org/specs/web-apps/current-work/#script rule 1)
> 
> "Otherwise, the element has a language attribute"
> to
> "Otherwise, the element has a non-empty language attribute"

Done.


> (2)  Is there any meaning to @language if there is a @type present?
> If not, this may be worth making explicit, even beyond just not
> listing @language in the content model.

Done.


> (3)  I would include an explicit example of
>     <script type="" language="mylang">
> showing that mylang is ignored, even for an empty (but present) @type.

I'd rather not add examples of non-conforming markup, at least not until 
we have a lot of examples of conforming markup.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 16 January 2009 01:18:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:28 GMT