W3C home > Mailing lists > Public > public-html-diffs@w3.org > January 2009

spec/Overview.html 1.1843 2673 clarifications for <script language=''>

From: poot <cvsmail@w3.org>
Date: Fri, 16 Jan 2009 10:24:13 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090116012413.5012B2BC9B@toro.w3.mag.keio.ac.jp>

clarifications for <script language=''> (credit: jj) (whatwg r2673)

Running a script
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1843.html#running-a-script

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1842&r2=1.1843&f=h
http://html5.org/tools/web-apps-tracker?from=2672&to=2673

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1842
retrieving revision 1.1843
diff -u -d -r1.1842 -r1.1843
--- Overview.html	16 Jan 2009 00:54:27 -0000	1.1842
+++ Overview.html	16 Jan 2009 01:09:13 -0000	1.1843
@@ -7999,12 +7999,15 @@
     script block's type</a></var> for this <code><a href=#script>script</a></code> element be
     the value of that attribute.</p>
 
-    <p>Otherwise, the element has a <code title=attr-script-language>language</code> attribute; let
+    <p>Otherwise, the element has a non-empty <code title=attr-script-language>language</code> attribute; let
     <var><a href=#the-script-block-s-type>the script block's type</a></var> for this <code><a href=#script>script</a></code>
     element be the concatenation of the string "<code title="">text/</code>" followed by the value of the <code title=attr-script-language>language</code> attribute.</p> <!--
     user agents already support, e.g., type="text/javascript1.3", so
     we don't have to support that separately. -->
 
+    <p class=note>The <code title=attr-script-language>language</code> attribute is never
+    conforming, and is always ignored if there is a <code title=attr-script-type><a href=#attr-script-type>type</a></code> attribute present.</p>
+
    </li>
 
    <li>
Received on Friday, 16 January 2009 01:29:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:13:57 GMT