[html5] r1315 - /

whatwg at whatwg.org whatwg at whatwg.org
Sun Mar 2 18:57:09 PST 2008


Author: ianh
Date: 2008-03-02 18:57:08 -0800 (Sun, 02 Mar 2008)
New Revision: 1315

Modified:
   index
   source
Log:
[e] (0) rename 'root element' insertion mode to 'before html'; readd the mistakenly dropped 'before head' insertion mode to the list of insertion modes

Modified: index
===================================================================
--- index	2008-03-03 02:49:46 UTC (rev 1314)
+++ index	2008-03-03 02:57:08 UTC (rev 1315)
@@ -1623,10 +1623,10 @@
          <li><a href="#the-initial"><span class=secno>8.2.4.7. </span>The
           initial insertion mode</a>
 
-         <li><a href="#the-root0"><span class=secno>8.2.4.8. </span>The root
-          element insertion mode</a>
+         <li><a href="#the-before"><span class=secno>8.2.4.8. </span>The
+          before html insertion mode</a>
 
-         <li><a href="#the-before"><span class=secno>8.2.4.9. </span>The
+         <li><a href="#the-before0"><span class=secno>8.2.4.9. </span>The
           before head insertion mode</a>
 
          <li><a href="#parsing-main-inhead"><span class=secno>8.2.4.10.
@@ -40475,9 +40475,10 @@
 
   <p>Initially the <a href="#insertion0">insertion mode</a> is "<a
    href="#initial" title="insertion mode: initial">initial</a>". It can
-   change to "<a href="#root-element0" title="insertion mode: root
-   element">root element</a>", "<a href="#in-head" title="insertion mode: in
-   head">in head</a>", "<a href="#in-head0" title="insertion mode: in head
+   change to "<a href="#before4" title="insertion mode: before html">before
+   html</a>", "<a href="#before5" title="insertion mode: before head">before
+   head</a>", "<a href="#in-head" title="insertion mode: in head">in
+   head</a>", "<a href="#in-head0" title="insertion mode: in head
    noscript">in head noscript</a>", "<a href="#after4" title="insertion mode:
    after head">after head</a>", "<a href="#in-body" title="insertion mode: in
    body">in body</a>", "<a href="#in-table" title="insertion mode: in
@@ -40508,18 +40509,17 @@
 
   <p>Initially the <dfn id=stack>stack of open elements</dfn> is empty.
 
-  <p>The <a href="#root-element0" title="insertion mode: root element">root
-   element insertion mode</a> creates the <code><a
-   href="#html">html</a></code> root element node, which is then added to the
-   stack.
+  <p>The "<a href="#before4" title="insertion mode: before html">before
+   html<code>html</code> root element node, which is then added to the
+   stack.</a>
 
   <p>In the <a href="#fragment">fragment case</a>, the <a href="#stack">stack
    of open elements</a> is initialised to contain an <code><a
    href="#html">html</a></code> element that is created as part of <a
    href="#html-fragment0" title="html fragment parsing algorithm">that
-   algorithm</a>. (The <a href="#fragment">fragment case</a> skips the <a
-   href="#root-element0" title="insertion mode: root element">root element
-   insertion mode</a>.)
+   algorithm</a>. (The <a href="#fragment">fragment case</a> skips the "<a
+   href="#before4" title="insertion mode: before html">before html</a>"
+   insertion mode.)
 
   <p>The <code><a href="#html">html</a></code> node, however it is created,
    is the topmost node of the stack. It never gets popped off the stack.
@@ -40961,7 +40961,7 @@
     href="#html">html</a></code> element, then: if the <a
     href="#head-element"><code title="">head</code> element pointer</a> is
     null, switch the <a href="#insertion0">insertion mode</a> to "<a
-    href="#before4" title="insertion mode: before head">before head</a>",
+    href="#before5" title="insertion mode: before head">before head</a>",
     otherwise, switch the <a href="#insertion0">insertion mode</a> to "<a
     href="#after4" title="insertion mode: after head">after head</a>". In
     either case, abort these steps. (<a href="#fragment">fragment case</a>)</li>
@@ -41329,8 +41329,7 @@
      case-insensitive<!-- ASCII --> manner.</p>
 
     <p>Then, change the <a href="#insertion0">insertion mode</a> to "<a
-     href="#root-element0" title="insertion mode: root element">root
-     element</a>".</p>
+     href="#before4" title="insertion mode: before html">before html</a>".</p>
 
    <dt>A start tag token
 
@@ -41348,13 +41347,11 @@
     <p>Set the document to <a href="#quirks">quirks mode</a>.</p>
 
     <p>Then, change the <a href="#insertion0">insertion mode</a> to "<a
-     href="#root-element0" title="insertion mode: root element">root
-     element</a>".</p>
+     href="#before4" title="insertion mode: before html">before html</a>".</p>
   </dl>
 
-  <h5 id=the-root0><span class=secno>8.2.4.8. </span>The <dfn
-   id=root-element0 title="insertion mode: root element">root element</dfn>
-   insertion mode</h5>
+  <h5 id=the-before><span class=secno>8.2.4.8. </span>The <dfn id=before4
+   title="insertion mode: before html">before html</dfn> insertion mode</h5>
 
   <p>Handle the token as follows:
 
@@ -41394,7 +41391,7 @@
      algorithm</a> with no manifest.</p>
 
     <p>Change the <a href="#insertion0">insertion mode</a> to "<a
-     href="#before4" title="insertion mode: before head">before head</a>".</p>
+     href="#before5" title="insertion mode: before head">before head</a>".</p>
 
    <dt>A character token that is <em>not</em> one of U+0009 CHARACTER
     TABULATION, U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM
@@ -41418,7 +41415,7 @@
      algorithm</a> with no manifest.</p>
 
     <p>Change the <a href="#insertion0">insertion mode</a> to "<a
-     href="#before4" title="insertion mode: before head">before head</a>".</p>
+     href="#before5" title="insertion mode: before head">before head</a>".</p>
 
     <p class=big-issue>Should probably make end tags be ignored, so that
      "</head><!-- --><html>" puts the comment before the root node
@@ -41430,7 +41427,7 @@
    content continues being appended to the nodes as described in the next
    section.
 
-  <h5 id=the-before><span class=secno>8.2.4.9. </span>The <dfn id=before4
+  <h5 id=the-before0><span class=secno>8.2.4.9. </span>The <dfn id=before5
    title="insertion mode: before head">before head</dfn> insertion mode</h5>
 
   <p>Handle the token as follows:

Modified: source
===================================================================
--- source	2008-03-03 02:49:46 UTC (rev 1314)
+++ source	2008-03-03 02:57:08 UTC (rev 1315)
@@ -37760,7 +37760,8 @@
 
   <p>Initially the <span>insertion mode</span> is "<span
   title="insertion mode: initial">initial</span>". It can change to
-  "<span title="insertion mode: root element">root element</span>",
+  "<span title="insertion mode: before html">before html</span>",
+  "<span title="insertion mode: before head">before head</span>",
   "<span title="insertion mode: in head">in head</span>", "<span
   title="insertion mode: in head noscript">in head noscript</span>",
   "<span title="insertion mode: after head">after head</span>", "<span
@@ -37793,16 +37794,16 @@
 
   <p>Initially the <dfn>stack of open elements</dfn> is empty.</p>
 
-  <p>The <span title="insertion mode: root element">root element
-  insertion mode</span> creates the <code>html</code> root element
-  node, which is then added to the stack.</p>
+  <p>The "<span title="insertion mode: before html">before html</span"
+  insertion mode creates the <code>html</code> root element node,
+  which is then added to the stack.</p>
 
   <p>In the <span>fragment case</span>, the <span>stack of open
   elements</span> is initialised to contain an <code>html</code>
   element that is created as part of <span title="html fragment
   parsing algorithm">that algorithm</span>. (The <span>fragment
-  case</span> skips the <span title="insertion mode: root
-  element">root element insertion mode</span>.)</p>
+  case</span> skips the "<span title="insertion mode: before
+  html">before html</span>" insertion mode.)</p>
 
   <p>The <code>html</code> node, however it is created, is the topmost
   node of the stack. It never gets popped off the stack. (This stack
@@ -38424,7 +38425,7 @@
     case-insensitive<!-- ASCII --> manner.</p>
 
     <p>Then, change the <span>insertion mode</span> to "<span
-    title="insertion mode: root element">root element</span>".</p>
+    title="insertion mode: before html">before html</span>".</p>
 
    </dd>
 
@@ -38441,14 +38442,14 @@
     <p>Set the document to <span>quirks mode</span>.</p>
 
     <p>Then, change the <span>insertion mode</span> to "<span
-    title="insertion mode: root element">root element</span>".</p>
+    title="insertion mode: before html">before html</span>".</p>
 
    </dd>
 
   </dl>
 
 
-  <h5>The <dfn title="insertion mode: root element">root element</dfn> insertion mode</h5>
+  <h5>The <dfn title="insertion mode: before html">before html</dfn> insertion mode</h5>
 
   <p>Handle the token as follows:</p>
 




More information about the Commit-Watchers mailing list