HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2730[Authors] [Conformance Checkers] Fix handing of end tags allowed before, in, and after <head> elements.2009-02-01 05:23
@@ -56859,21 +56859,21 @@ interface <dfn>MessageChannel</dfn> {
     <p><span>Insert an HTML element</span> for the token.</p>
 
     <p>Set the <span><code title="">head</code> element pointer</span>
     to the newly created <code>head</code> element.</p>
 
     <p>Switch the <span>insertion mode</span> to "<span
     title="insertion mode: in head">in head</span>".</p>
 
    </dd>
 
-   <dt>An end tag whose tag name is one of: "head", "br"</dt>
+   <dt>An end tag whose tag name is one of: "head", "body", "html", "br"</dt>
    <dd>
 
     <p>Act as if a start tag token with the tag name "head" and no
     attributes had been seen, then reprocess the current token.</p>
 
    </dd>
 
    <dt>Any other end tag</dt>
    <dd>
 
@@ -57046,21 +57046,21 @@ interface <dfn>MessageChannel</dfn> {
 
     <p>Pop the <span>current node</span> (which will be the
     <code>head</code> element) off the <span>stack of open
     elements</span>.</p>
 
     <p>Switch the <span>insertion mode</span> to "<span
     title="insertion mode: after head">after head</span>".</p>
 
    </dd>
 
-   <dt>An end tag whose tag name is "br"</dt>
+   <dt>An end tag whose tag name is one of: "body", "html", "br"</dt>
    <dd>
     <p>Act as described in the "anything else" entry below.</p>
    </dd>
 
    <dt>A start tag whose tag name is "head"</dt>
    <dt>Any other end tag</dt>
    <dd>
     <p><span>Parse error</span>. Ignore the token.</p>
    </dd>
 
@@ -57218,21 +57218,21 @@ interface <dfn>MessageChannel</dfn> {
     <p>Process the token <span>using the rules for</span> the "<span
     title="insertion mode: in head">in head</span>" <span>insertion
     mode</span>.</p>
 
     <p>Remove the node pointed to by the <span><code
     title="">head</code> element pointer</span> from the <span>stack
     of open elements</span>.</p>
 
    </dd>
 
-   <dt>An end tag whose tag name is "br"</dt>
+   <dt>An end tag whose tag name is one of: "body", "html", "br"</dt>
    <dd>
     <p>Act as described in the "anything else" entry below.</p>
    </dd>
 
    <dt>A start tag whose tag name is "head"</dt>
    <dt>Any other end tag</dt>
    <dd>
     <p><span>Parse error</span>. Ignore the token.</p>
    </dd>
 

|