W3C home > Mailing lists > Public > public-html-commits@w3.org > January 2010

html5/spec Overview.html,1.3556,1.3557

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 04 Jan 2010 11:27:17 +0000
To: public-html-commits@w3.org
Message-Id: <E1NRl5i-00040D-0g@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv15272

Modified Files:
	Overview.html 
Log Message:
Update the fragment parsing algorithm to handle <script> more theoretically properly. And mention a quicker implementation strategy. (whatwg r4457)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3556
retrieving revision 1.3557
diff -u -d -r1.3556 -r1.3557
--- Overview.html	21 Dec 2009 22:26:54 -0000	1.3556
+++ Overview.html	4 Jan 2010 11:27:14 -0000	1.3557
@@ -260,7 +260,7 @@
    <h1>HTML5</h1>
    <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>
 
-   <h2 class="no-num no-toc" id="editor-s-draft-21-december-2009">Editor's Draft 21 December 2009</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-4-january-2010">Editor's Draft 4 January 2010</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -353,7 +353,7 @@
   specification's progress along the W3C Recommendation
   track.
 
-  This specification is the 21 December 2009 Editor's Draft.
+  This specification is the 4 January 2010 Editor's Draft.
   </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)
   what was previously the HTML4, XHTML1, and DOM2 HTML
@@ -18838,7 +18838,7 @@
  &lt;/body&gt;
 &lt;/html&gt;</pre>
 
-  </div><h4 id="video"><span class="secno">4.8.7 </span>The <dfn><code>video</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/9">ISSUE-9</a> (video-accessibility) and <a href="http://www.w3.org/html/wg/tracker/issues/10">ISSUE-10</a> (video-smil) block progress to Last Call</span><dl class="element"><dt>Categories</dt>
+  </div><h4 id="video"><span class="secno">4.8.7 </span>The <dfn><code>video</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/9">ISSUE-9</a> (video-accessibility) blocks progress to Last Call</span><dl class="element"><dt>Categories</dt>
    <dd><a href="#flow-content">Flow content</a>.</dd>
    <dd><a href="#phrasing-content">Phrasing content</a>.</dd>
    <dd><a href="#embedded-content">Embedded content</a>.</dd>
@@ -61887,13 +61887,18 @@
        <dd>Switch the tokenizer to the <a href="#rcdata-state">RCDATA state</a>.</dd>
 
 
-       <dt>If it is a <code><a href="#the-style-element">style</a></code>, <code><a href="#script">script</a></code>,
-       <code><a href="#xmp">xmp</a></code>, <code><a href="#the-iframe-element">iframe</a></code>, <code><a href="#noembed">noembed</a></code>, or
+       <dt>If it is a <code><a href="#the-style-element">style</a></code>, <code><a href="#xmp">xmp</a></code>,
+       <code><a href="#the-iframe-element">iframe</a></code>, <code><a href="#noembed">noembed</a></code>, or
        <code><a href="#noframes">noframes</a></code> element</dt>
 
        <dd>Switch the tokenizer to the <a href="#rawtext-state">RAWTEXT state</a>.</dd>
 
 
+       <dt>If it is a <code><a href="#script">script</a></code> element</dt>
+
+       <dd>Switch the tokenizer to the <a href="#script-data-state">script data state</a>.</dd>
+
+
        <dt>If it is a <code><a href="#the-noscript-element">noscript</a></code> element</dt>
 
        <dd>If the <a href="#scripting-flag">scripting flag</a> is enabled, switch the
@@ -61911,7 +61916,15 @@
 
        <dd>Leave the tokenizer in the <a href="#data-state">data state</a>.</dd>
 
-      </dl></li>
+      </dl><p class="note">For performance reasons, an implementation that
+      uses the actual state machine described in this specification
+      directly could use the PLAINTEXT state instead of the RAWTEXT
+      and script data states where those are mentioned in the list
+      above. They are equivalent, since there is no <a href="#appropriate-end-tag-token">appropriate
+      end tag token</a> in the fragment case, but involve far fewer
+      state transitions.</p>
+
+     </li>
 
      <li>
 
Received on Monday, 4 January 2010 11:27:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 4 January 2010 11:27:19 GMT