W3C home > Mailing lists > Public > public-html@w3.org > August 2008

Re: Determining Script Type

From: Jim Jewett <jimjjewett@gmail.com>
Date: Tue, 5 Aug 2008 22:59:27 -0400
Message-ID: <fb6fbf560808051959u2d645ed1ib6ceacff37c9a047@mail.gmail.com>
To: "Ian Hickson" <ian@hixie.ch>
Cc: public-html@w3.org

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"

(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.

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

-jJ
Received on Wednesday, 6 August 2008 03:00:06 GMT

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