[html5] r916 - /

whatwg at whatwg.org whatwg at whatwg.org
Mon Jun 18 17:38:37 PDT 2007


Author: ianh
Date: 2007-06-18 17:38:34 -0700 (Mon, 18 Jun 2007)
New Revision: 916

Modified:
   index
   source
Log:
[cwt] (2) Handle implied end tags with </body>.

Modified: index
===================================================================
--- index	2007-06-18 20:50:56 UTC (rev 915)
+++ index	2007-06-19 00:38:34 UTC (rev 916)
@@ -22,7 +22,7 @@
 
    <h1 id=html-5>HTML 5</h1>
 
-   <h2 class="no-num no-toc" id=working>Working Draft — 18 June 2007</h2>
+   <h2 class="no-num no-toc" id=working>Working Draft — 19 June 2007</h2>
 
    <p>You can take part in this work. <a
     href="http://www.whatwg.org/mailing-list">Join the working group's
@@ -36593,15 +36593,18 @@
          element, this is a <a href="#parse">parse error</a>. Ignore the
          token. (<a href="#innerhtml1"><code>innerHTML</code> case</a>)</p>
 
-        <p>Otherwise:</p>
+        <p>Otherwise, if there is a node in the <a href="#stack">stack of
+         open elements</a> that is not either a <code><a
+         href="#dd">dd</a></code> element, a <code><a
+         href="#dt">dt</a></code> element, an <code><a
+         href="#li">li</a></code> element, a <code><a href="#p">p</a></code>
+         element, a <code><a href="#td">td</a></code> element, a <code><a
+         href="#th">th</a></code> element, a <code><a
+         href="#tr">tr</a></code> element, the <code><a
+         href="#body0">body</a></code> element, or the <code><a
+         href="#html">html</a></code> element, then this is a <a
+         href="#parse">parse error</a>.
 
-        <p class=big-issue>this needs to handle closing of implied elements,
-         but without closing them</p>
-
-        <p>If the <a href="#current4">current node</a> is not the <code><a
-         href="#body0">body</a></code> element, then this is a <a
-         href="#parse">parse error</a>.</p>
-
         <p>Change the <a href="#insertion0">insertion mode</a> to "<a
          href="#after4" title="insertion mode: after body">after body</a>".</p>
 

Modified: source
===================================================================
--- source	2007-06-18 20:50:56 UTC (rev 915)
+++ source	2007-06-19 00:38:34 UTC (rev 916)
@@ -33846,14 +33846,14 @@
         <span>parse error</span>. Ignore the token.
         (<span><code>innerHTML</code> case</span>)</p>
 
-        <p>Otherwise:</p>
+        <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
+        <code>p</code> element, a <code>td</code> element, a
+        <code>th</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>.</li>
 
-        <p class="big-issue">this needs to handle closing of implied elements, but without closing them</p>
-
-        <p>If the <span>current node</span> is not the
-        <code>body</code> element, then this is a <span>parse
-        error</span>.</p>
-
         <p>Change the <span>insertion mode</span> to "<span
         title="insertion mode: after body">after body</span>".</p>
 




More information about the Commit-Watchers mailing list