HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/3896

File a bug

SVNBugCommentTime (UTC)
3896[Conformance Checkers] [Gecko] [Tools] Ignore (most) end tags before the <html> tag.2009-09-18 08:42
Index: source
===================================================================
--- source	(revision 3895)
+++ source	(revision 3896)
@@ -79754,6 +79754,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><span>Parse error</span>. Ignore the token.</p>
+   </dd>
+
    <dt>Anything else</dt>
    <dd>
 
@@ -79772,10 +79782,6 @@
     title="insertion mode: before head">before head</span>", then
     reprocess the current token.</p>
 
-    <p class="XXX">Should probably make end tags be ignored, so
-    that "&lt;/head>&lt;!-- -->&lt;html>" puts the comment before the
-    root node (or should we?)</p>
-
    </dd>
 
   </dl>

|