html5/spec Overview.html,1.3057,1.3058

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv31246

Modified Files:
	Overview.html 
Log Message:
Ignore (most) end tags before the <html> tag. (whatwg r3896)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3057
retrieving revision 1.3058
diff -u -d -r1.3057 -r1.3058
--- Overview.html	18 Sep 2009 08:24:31 -0000	1.3057
+++ Overview.html	18 Sep 2009 08:36:08 -0000	1.3058
@@ -58448,6 +58448,16 @@
 
    </dd>
 
+   <dt>An end tag whose tag name is one of: "head", "body", "html", "br"</dt>
+   <dd>
+    <p>Act as described in the "anything else" entry below.</p>
+   </dd>
+
+   <dt>Any other end tag</dt>
+   <dd>
+    <p><a href="#parse-error">Parse error</a>. Ignore the token.</p>
+   </dd>
+
    <dt>Anything else</dt>
    <dd>
 
@@ -58463,10 +58473,6 @@
     <p>Switch the <a href="#insertion-mode">insertion mode</a> to "<a href="#the-before-head-insertion-mode" title="insertion mode: before head">before head</a>", then
     reprocess the current token.</p>
 
-    <p class="XXX">Should probably make end tags be ignored, so
-    that "&lt;/head&gt;&lt;!-- --&gt;&lt;html&gt;" puts the comment before the
-    root node (or should we?)</p>
-
    </dd>
 
   </dl><p>The root element can end up being removed from the

Received on Friday, 18 September 2009 08:36:22 UTC