html5/spec Overview.html,1.3070,1.3071

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

Modified Files:
	Overview.html 
Log Message:
Make it clear that spaces around the value of type='' on <script> are stripped first, and that the types are compared literally. (whatwg r3909)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3070
retrieving revision 1.3071
diff -u -d -r1.3070 -r1.3071
--- Overview.html	18 Sep 2009 21:30:59 -0000	1.3070
+++ Overview.html	19 Sep 2009 09:55:40 -0000	1.3071
@@ -215,7 +215,7 @@
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
    <!--ZZZ:-->
    <!--<h2 class="no-num no-toc">W3C Working Draft 25 August 2009</h2>-->
-   <h2 class="no-num no-toc" id="editor-s-draft-18-september-2009">Editor's Draft 18 September 2009</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-19-september-2009">Editor's Draft 19 September 2009</h2>
    <!--:ZZZ-->
    <dl><!-- ZZZ: update the month/day (twice), (un)comment out--><!--
     <dt>This Version:</dt>
@@ -317,7 +317,7 @@
   track.
   <!--ZZZ:-->
   <!--This specification is the 25 August 2009 Working Draft.-->
-  This specification is the 18 September 2009 Editor's Draft.
+  This specification is the 19 September 2009 Editor's Draft.
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -9407,9 +9407,9 @@
   attribute on the <code><a href="#the-link-element">link</a></code> element has the same semantics as
   the <a href="#attr-hyperlink-hreflang" title="attr-hyperlink-hreflang"><code>hreflang</code>
   attribute on hyperlink elements</a>.<p>The <dfn id="attr-link-type" title="attr-link-type"><code>type</code></dfn> attribute
-  gives the <a href="#mime-type">MIME type</a> of the linked resource. It is purely advisory.
-  The value must be a <a href="#valid-mime-type">valid MIME type</a>, optionally with
-  parameters.<p>For <a href="#external-resource-link" title="external resource link">external resource
+  gives the <a href="#mime-type">MIME type</a> of the linked resource. It is
+  purely advisory.  The value must be a <a href="#valid-mime-type">valid MIME type</a>,
+  optionally with parameters.<p>For <a href="#external-resource-link" title="external resource link">external resource
   links</a>, the <code title="attr-link-type"><a href="#attr-link-type">type</a></code> attribute
   is used as a hint to user agents so that they can avoid fetching
   resources they do not support. <span class="impl">If the attribute
@@ -10594,7 +10594,9 @@
 
     <p>Otherwise, if the <code><a href="#script">script</a></code> element has a <code title="attr-script-type"><a href="#attr-script-type">type</a></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 value of that attribute.</p>
+    the value of that attribute with any leading or trailing sequences
+    of <a href="#space-character" title="space character">space characters</a>
+    removed.</p>
 
     <p>Otherwise, the element has a non-empty <code title="attr-script-language"><a href="#attr-script-language">language</a></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>
@@ -11064,29 +11066,30 @@
   </div><h5 id="scriptingLanguages"><span class="secno">4.3.1.1 </span>Scripting languages</h5><div class="impl">
 
   <p>A user agent is said to <dfn id="support-the-scripting-language">support the scripting language</dfn>
-  if <var><a href="#the-script-block-s-type">the script block's type</a></var> matches the <a href="#mime-type">MIME type</a> of a
-  scripting language that the user agent implements.</p>
+  if <var><a href="#the-script-block-s-type">the script block's type</a></var> is an <a href="#ascii-case-insensitive">ASCII
+  case-insensitive</a> match for the <a href="#mime-type">MIME type</a> string
+  of a scripting language that the user agent implements.</p>
 
-  </div><p>The following lists some <a href="#mime-type" title="MIME type">MIME
-  types</a> and the languages to which they refer:<dl><dt><code>application/ecmascript</code></dt>
-   <dt><code>application/javascript</code></dt>
-   <dt><code>application/x-ecmascript</code></dt>
-   <dt><code>application/x-javascript</code></dt>
-   <dt><code>text/ecmascript</code></dt>
-   <dt><code>text/javascript</code></dt>
-   <dt><code>text/javascript1.0</code></dt>
-   <dt><code>text/javascript1.1</code></dt>
-   <dt><code>text/javascript1.2</code></dt>
-   <dt><code>text/javascript1.3</code></dt>
-   <dt><code>text/javascript1.4</code></dt>
-   <dt><code>text/javascript1.5</code></dt>
-   <dt><code>text/jscript</code></dt>
-   <dt><code>text/livescript</code></dt>
-   <dt><code>text/x-ecmascript</code></dt>
-   <dt><code>text/x-javascript</code></dt>
+  </div><p>The following lists some <a href="#mime-type">MIME type</a> strings and the
+  languages to which they refer:<dl><dt>"<code>application/ecmascript</code>"</dt>
+   <dt>"<code>application/javascript</code>"</dt>
+   <dt>"<code>application/x-ecmascript</code>"</dt>
+   <dt>"<code>application/x-javascript</code>"</dt>
+   <dt>"<code>text/ecmascript</code>"</dt>
+   <dt>"<code>text/javascript</code>"</dt>
+   <dt>"<code>text/javascript1.0</code>"</dt>
+   <dt>"<code>text/javascript1.1</code>"</dt>
+   <dt>"<code>text/javascript1.2</code>"</dt>
+   <dt>"<code>text/javascript1.3</code>"</dt>
+   <dt>"<code>text/javascript1.4</code>"</dt>
+   <dt>"<code>text/javascript1.5</code>"</dt>
+   <dt>"<code>text/jscript</code>"</dt>
+   <dt>"<code>text/livescript</code>"</dt>
+   <dt>"<code>text/x-ecmascript</code>"</dt>
+   <dt>"<code>text/x-javascript</code>"</dt>
    <dd>JavaScript. <a href="#refsECMA262">[ECMA262]</a></dd>
 
-   <dt><code>text/javascript;e4x=1</code></dt>
+   <dt>"<code>text/javascript;e4x=1</code>"</dt>
    <dd>JavaScript with ECMAScript for XML. <a href="#refsECMA357">[ECMA357]</a></dd>
 
   </dl><div class="impl">

Received on Saturday, 19 September 2009 09:55:54 UTC