NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 284 - When <script type=''> is given, it must match the type of the script, even if the script is JS. (credit: hs)
When <script type=''> is given, it must match the type of the script, even if...
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-11 15:00 CEST by Henri Sivonen
Modified: 2008-08-13 16:25 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2008-08-11 15:00:40 CEST
Index: source
===================================================================
--- source	(revision 2015)
+++ source	(revision 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