[html5] r1327 - /

whatwg at whatwg.org whatwg at whatwg.org
Mon Mar 3 18:07:47 PST 2008


Author: ianh
Date: 2008-03-03 18:07:44 -0800 (Mon, 03 Mar 2008)
New Revision: 1327

Modified:
   index
   source
Log:
[e] (0) various clarifications in the after body and after frameset insertion modes.

Modified: index
===================================================================
--- index	2008-03-04 01:58:39 UTC (rev 1326)
+++ index	2008-03-04 02:07:44 UTC (rev 1327)
@@ -43662,11 +43662,10 @@
    <dd>
     <p>If the parser was originally created as part of the <a
      href="#html-fragment0">HTML fragment parsing algorithm</a>, this is a <a
-     href="#parse0">parse error</a>; ignore the token. (The element will be
-     an <code><a href="#html">html</a></code> element in this case.) (<a
+     href="#parse0">parse error</a>; ignore the token. (<a
      href="#fragment">fragment case</a>)</p>
-
-    <p>Then, change the <a href="#insertion0">insertion mode</a> to "<a
+    <!-- can only happen for <html>'s own innerHTML -->
+    <p>Otherwise, change the <a href="#insertion0">insertion mode</a> to "<a
      href="#after7" title="insertion mode: after after body">after after
      body</a>".</p>
 
@@ -43763,6 +43762,7 @@
   <h5 id=parsing-main-afterframeset><span class=secno>8.2.4.23. </span>The
    <dfn id=after6 title="insertion mode: after frameset">after frameset</dfn>
    insertion mode</h5>
+  <!-- due to rules in the "in frameset" mode, this can't be entered in the fragment case -->
 
   <p>Handle the token as follows:
 
@@ -43794,6 +43794,8 @@
 
    <dt>A start tag whose tag name is "html"
 
+   <dt>A start tag whose tag name is "noframes"
+
    <dd>
     <p>Process the token as if the <a href="#insertion0">insertion mode</a>
      had been "<a href="#in-body" title="insertion mode: in body">in
@@ -43806,13 +43808,6 @@
      href="#after8" title="insertion mode: after after frameset">after after
      frameset</a>".</p>
 
-   <dt>A start tag whose tag name is "noframes"
-
-   <dd>
-    <p>Process the token as if the <a href="#insertion0">insertion mode</a>
-     had been "<a href="#in-body" title="insertion mode: in body">in
-     body</a>".</p>
-
    <dt>Anything else
 
    <dd>

Modified: source
===================================================================
--- source	2008-03-04 01:58:39 UTC (rev 1326)
+++ source	2008-03-04 02:07:44 UTC (rev 1327)
@@ -40936,13 +40936,12 @@
    <dt>An end tag whose tag name is "html"</dt>
    <dd>
 
-    <p>If the parser was originally created as part of the
-    <span>HTML fragment parsing algorithm</span>, this is a
-    <span>parse error</span>; ignore the token. (The element will
-    be an <code>html</code> element in this case.)
-    (<span>fragment case</span>)</p>
+    <p>If the parser was originally created as part of the <span>HTML
+    fragment parsing algorithm</span>, this is a <span>parse
+    error</span>; ignore the token.  (<span>fragment case</span>)</p>
+    <!-- can only happen for <html>'s own innerHTML -->
 
-    <p>Then, change the <span>insertion mode</span> to "<span
+    <p>Otherwise, change the <span>insertion mode</span> to "<span
     title="insertion mode: after after body">after after
     body</span>".</p>
 
@@ -41047,6 +41046,7 @@
 
 
   <h5 id="parsing-main-afterframeset">The <dfn title="insertion mode: after frameset">after frameset</dfn> insertion mode</h5>
+  <!-- due to rules in the "in frameset" mode, this can't be entered in the fragment case -->
 
   <p>Handle the token as follows:</p>
 
@@ -41079,6 +41079,7 @@
    </dd>
 
    <dt>A start tag whose tag name is "html"</dt>
+   <dt>A start tag whose tag name is "noframes"</dt>
    <dd>
     <p>Process the token as if the <span>insertion mode</span> had
     been "<span title="insertion mode: in body">in
@@ -41092,12 +41093,6 @@
     frameset</span>".</p>
    </dd>
 
-   <dt>A start tag whose tag name is "noframes"</dt>
-   <dd>
-    <p>Process the token as if the <span>insertion mode</span> had
-    been "<span title="insertion mode: in body">in body</span>".</p>
-   </dd>
-
    <dt>Anything else</dt>
    <dd>
     <p><span>Parse error</span>. Ignore the token.</p>




More information about the Commit-Watchers mailing list