- From: poot <cvsmail@w3.org>
- Date: Wed, 6 Aug 2008 05:43:19 +0900 (JST)
- To: public-html-diffs@w3.org
When <script type=''> is given, it must match the type of the script,
even if the script is JS. (credit: hs) (whatwg r2016)
HTMLScriptElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1204.html#htmlscriptelement
http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1203&r2=1.1204&f=h
http://html5.org/tools/web-apps-tracker?from=2015&to=2016
===================================================================
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:44:02 UTC