[html5] r2016 - [c] (0) When <script type=''> is given, it must match the type of the script, ev [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Aug 5 13:40:34 PDT 2008


Author: ianh
Date: 2008-08-05 13:40:33 -0700 (Tue, 05 Aug 2008)
New Revision: 2016

Modified:
   index
   source
Log:
[c] (0) When <script type=''> is given, it must match the type of the script, even if the script is JS. (credit: hs)

Modified: index
===================================================================
--- index	2008-08-05 20:33:03 UTC (rev 2015)
+++ index	2008-08-05 20:40:33 UTC (rev 2016)
@@ -25957,8 +25957,10 @@
    inline or may be imported from an external file using the <code
    title=attr-script-src><a href="#src9">src</a></code> attribute. If the
    language is not that described by "<code title="">text/javascript</code>",
-   then the type of the script's language must be given using the <code
-   title=attr-script-type><a href="#type11">type</a></code> attribute.
+   then the <code title=attr-script-type><a href="#type11">type</a></code>
+   attribute must be present. If the <code title=attr-script-type><a
+   href="#type11">type</a></code> attribute is present, its value must be the
+   type of the script's language.
 
   <p>When used to include script data, the script data must be embedded
    inline, the format of the data must be given using the <code

Modified: source
===================================================================
--- source	2008-08-05 20:33:03 UTC (rev 2015)
+++ source	2008-08-05 20:40:33 UTC (rev 2016)
@@ -23288,8 +23288,10 @@
   embedded inline or may be imported from an external file using the
   <code title="attr-script-src">src</code> attribute. If the language
   is not that described by "<code title="">text/javascript</code>",
-  then the type of the script's language must be given using the <code
-  title="attr-script-type">type</code> attribute.</p>
+  then the <code title="attr-script-type">type</code> attribute must
+  be present. If the <code title="attr-script-type">type</code>
+  attribute is present, its value must be the type of the script's
+  language.</p>
 
   <p>When used to include script data, the script data must be
   embedded inline, the format of the data must be given using the




More information about the Commit-Watchers mailing list