[html5] r2504 - [e] (0) Fix text that makes no sense for handling </body>. (credit: tt)

whatwg at whatwg.org whatwg at whatwg.org
Mon Dec 1 18:54:04 PST 2008


Author: ianh
Date: 2008-12-01 18:54:03 -0800 (Mon, 01 Dec 2008)
New Revision: 2504

Modified:
   index
   source
Log:
[e] (0) Fix text that makes no sense for handling </body>. (credit: tt)

Modified: index
===================================================================
--- index	2008-12-02 02:50:47 UTC (rev 2503)
+++ index	2008-12-02 02:54:03 UTC (rev 2504)
@@ -48409,6 +48409,9 @@
     in scope</a>, this is a <a href=#parse-error>parse error</a>; ignore the
     token.</p>
 
+    <!-- if we get here, the insertion mode here is forcibly "in
+    body". -->
+
     <p>Otherwise, if there is a node in the <a href=#stack-of-open-elements>stack of open
     elements</a> that is not either a <code><a href=#the-dd-element>dd</a></code> element, a
     <code><a href=#the-dt-element>dt</a></code> element, an <code><a href=#the-li-element>li</a></code> element, a
@@ -48417,13 +48420,12 @@
     <code><a href=#the-th-element>th</a></code> element, a <code><a href=#the-thead-element>thead</a></code> element, a
     <code><a href=#the-tr-element>tr</a></code> element, the <code><a href=#the-body-element>body</a></code> element, or the
     <code><a href=#the-html-element>html</a></code> element, then this is a <a href=#parse-error>parse
-    error</a>.</p> <!-- (some of those are fragment cases) -->
+    error</a>.</p> <!-- (some of those are fragment cases, e.g. for
+    <tbody> you'd have hit the first paragraph since the <body>
+    wouldn't be in scope, unless it was a fragment case) -->
 
-    <!-- the insertion mode here is forcibly "in body". -->
+    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-afterbody title="insertion mode: after body">after body</a>".</p>
 
-    <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-afterbody title="insertion mode: after body">after body</a>". Otherwise,
-    ignore the token.</p>
-
    </dd>
 
    <dt>An end tag whose tag name is "html"</dt>
@@ -54021,11 +54023,12 @@
   Pfeiffer, Simon Pieters, Stefan Haustein, Steffen Meschkat, Stephen
   Ma, Steve Faulkner, Steve Runyon, Steven Garrity, Stewart Brodie,
   Stuart Parmenter, Sunava Dutta, Tantek Çelik, Terrence Wood,
-  Thomas Broyer, Thomas O'Connor, Tim Altman, Tim Johansson, Travis
-  Leithead, Tyler Close, Vladimir Vukićević, Wakaba,
-  Wayne Pollock, Wellington Fernando de Macedo, William Swanson,
-  Wolfram Kriesing, Yi-An Huang, and Øistein E. Andersen, for
-  their useful and substantial comments.</p>
+  Thomas Broyer, Thomas O'Connor, Tim Altman, Tim Johansson, Tommy
+  Thorsen, Travis Leithead, Tyler Close, Vladimir
+  Vukićević, Wakaba, Wayne Pollock, Wellington Fernando
+  de Macedo, William Swanson, Wolfram Kriesing, Yi-An Huang, and
+  Øistein E. Andersen, for their useful and substantial
+  comments.</p>
 
   <p>Thanks also to everyone who has ever posted about HTML5 to their
   blogs, public mailing lists, or forums, including the <a href=http://lists.w3.org/Archives/Public/public-html/>W3C

Modified: source
===================================================================
--- source	2008-12-02 02:50:47 UTC (rev 2503)
+++ source	2008-12-02 02:54:03 UTC (rev 2504)
@@ -55204,6 +55204,9 @@
     in scope</span>, this is a <span>parse error</span>; ignore the
     token.</p>
 
+    <!-- if we get here, the insertion mode here is forcibly "in
+    body". -->
+
     <p>Otherwise, if there is a node in the <span>stack of open
     elements</span> that is not either a <code>dd</code> element, a
     <code>dt</code> element, an <code>li</code> element, a
@@ -55212,13 +55215,12 @@
     <code>th</code> element, a <code>thead</code> element, a
     <code>tr</code> element, the <code>body</code> element, or the
     <code>html</code> element, then this is a <span>parse
-    error</span>.</p> <!-- (some of those are fragment cases) -->
+    error</span>.</p> <!-- (some of those are fragment cases, e.g. for
+    <tbody> you'd have hit the first paragraph since the <body>
+    wouldn't be in scope, unless it was a fragment case) -->
 
-    <!-- the insertion mode here is forcibly "in body". -->
-
     <p>Switch the <span>insertion mode</span> to "<span
-    title="insertion mode: after body">after body</span>". Otherwise,
-    ignore the token.</p>
+    title="insertion mode: after body">after body</span>".</p>
 
    </dd>
 
@@ -58991,11 +58993,12 @@
   Pfeiffer, Simon Pieters, Stefan Haustein, Steffen Meschkat, Stephen
   Ma, Steve Faulkner, Steve Runyon, Steven Garrity, Stewart Brodie,
   Stuart Parmenter, Sunava Dutta, Tantek Çelik, Terrence Wood,
-  Thomas Broyer, Thomas O'Connor, Tim Altman, Tim Johansson, Travis
-  Leithead, Tyler Close, Vladimir Vuki&#x0107;evi&#x0107;, Wakaba,
-  Wayne Pollock, Wellington Fernando de Macedo, William Swanson,
-  Wolfram Kriesing, Yi-An Huang, and Øistein E. Andersen, for
-  their useful and substantial comments.</p>
+  Thomas Broyer, Thomas O'Connor, Tim Altman, Tim Johansson, Tommy
+  Thorsen, Travis Leithead, Tyler Close, Vladimir
+  Vuki&#x0107;evi&#x0107;, Wakaba, Wayne Pollock, Wellington Fernando
+  de Macedo, William Swanson, Wolfram Kriesing, Yi-An Huang, and
+  Øistein E. Andersen, for their useful and substantial
+  comments.</p>
 
   <p>Thanks also to everyone who has ever posted about HTML5 to their
   blogs, public mailing lists, or forums, including the <a




More information about the Commit-Watchers mailing list