html5/spec Overview.html,1.1203,1.1204

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv6797

Modified Files:
	Overview.html 
Log Message:
When <script type=''> is given, it must match the type of the script, even if the script is JS. (credit: hs) (whatwg r2016)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1203
retrieving revision 1.1204
diff -u -d -r1.1203 -r1.1204
--- Overview.html	5 Aug 2008 20:33:37 -0000	1.1203
+++ Overview.html	5 Aug 2008 20:40:37 -0000	1.1204
@@ -25979,8 +25979,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

Received on Tuesday, 5 August 2008 20:41:13 UTC