[html5] r2673 - [e] (0) clarifications for <script language=''> (credit: jj)

whatwg at whatwg.org whatwg at whatwg.org
Thu Jan 15 17:09:10 PST 2009


Author: ianh
Date: 2009-01-15 17:09:09 -0800 (Thu, 15 Jan 2009)
New Revision: 2673

Modified:
   index
   source
Log:
[e] (0) clarifications for <script language=''> (credit: jj)

Modified: index
===================================================================
--- index	2009-01-16 00:54:21 UTC (rev 2672)
+++ index	2009-01-16 01:09:09 UTC (rev 2673)
@@ -9787,12 +9787,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>

Modified: source
===================================================================
--- source	2009-01-16 00:54:21 UTC (rev 2672)
+++ source	2009-01-16 01:09:09 UTC (rev 2673)
@@ -10328,7 +10328,7 @@
     script block's type</var> for this <code>script</code> element be
     the value of that attribute.</p>
 
-    <p>Otherwise, the element has a <code
+    <p>Otherwise, the element has a non-empty <code
     title="attr-script-language">language</code> attribute; let
     <var>the script block's type</var> for this <code>script</code>
     element be the concatenation of the string "<code
@@ -10337,6 +10337,11 @@
     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">type</code> attribute present.</p>
+
    </li>
 
    <li>




More information about the Commit-Watchers mailing list