Re: Determining Script Type

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 UTC