NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 114 - Remove a redundant entry in the parser; make base, link, and meta elements get popped correctly.
Remove a redundant entry in the parser; make base, link, and meta elements ge...
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-03 13:14 CET by Nobody
Modified: 2008-03-07 13:25 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody 2008-03-03 13:14:39 CET
Index: source
===================================================================
--- source	(revision 1315)
+++ source	(revision 1316)
@@ -38584,22 +38584,6 @@
 
    </dd>
 
-   <dt>A start tag token whose tag name is one of: "base", "link",
-   "meta", "script", "style", "title"</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>
-
-    <p class="note">This will result in a <code>head</code>
-    element being generated, and with the current token being
-    reprocessed in the "<span title="insertion mode: in head">in
-    head</span>" <span>insertion mode</span>.</p>
-
-   </dd>
-
    <dt>An end tag whose tag name is one of: "head", "body", "html", "p", "br"</dt>
    <dd>
 
@@ -38680,13 +38664,17 @@
    <dt>A start tag whose tag name is one of: "base", "link"</dt>
    <dd>
     <p><span title="insert an html element">Insert an HTML
-    element</span> for the token.</p>
+    element</span> for the token. Immediately pop the
+    <span>current node</span> off the <span>stack of open
+    elements</span>.</p>
    </dd>
 
    <dt>A start tag whose tag name is "meta"</dt>
    <dd>
     <p><span title="insert an html element">Insert an HTML
-    element</span> for the token.</p>
+    element</span> for the token. Immediately pop the
+    <span>current node</span> off the <span>stack of open
+    elements</span>.</p>
 
     <p id="meta-charset-during-parse">If the element has a <code
     title="attr-meta-charset">charset</code> attribute, and its
Comment 1 Henri Sivonen 2008-03-07 13:25:48 CET
Already implemented.