[html5] r935 - /

whatwg at whatwg.org whatwg at whatwg.org
Tue Jun 19 19:00:52 PDT 2007


Author: ianh
Date: 2007-06-19 19:00:50 -0700 (Tue, 19 Jun 2007)
New Revision: 935

Modified:
   index
   source
Log:
[cgwt] (2) <base>, <link>, <meta> elements no longer get moved to the <head> (compatibility with IE). This changes certain parse errors involved with those elements.

Modified: index
===================================================================
--- index	2007-06-20 01:11:51 UTC (rev 934)
+++ index	2007-06-20 02:00:50 UTC (rev 935)
@@ -36287,10 +36287,14 @@
        <dd>
         <p><a href="#create">Create an element for the token</a>.</p>
 
-        <p>Append the new element to the node pointed to by the <a
-         href="#head-element"><code title="">head</code> element pointer</a>,
-         or, if that is null (<a href="#fragment">fragment case</a>), to the
-         <a href="#current4">current node</a>.</p>
+        <p>Append the new element to the <a href="#current4">current
+         node</a>, unless the <a href="#insertion0">insertion mode</a> is "<a
+         href="#in-head" title="insertion mode: in head">in head</a>" and the
+         <a href="#head-element"><code title="">head</code> element
+         pointer</a> is not null, in which case append it to the node pointed
+         to by the <a href="#head-element"><code title="">head</code> element
+         pointer</a>. <!--
+        handles </head><base><link><meta> -->
 
        <dt>An end tag with the tag name "head"
 
@@ -36425,15 +36429,15 @@
          title="">data</code> attribute set to the data given in the comment
          token.</p>
 
-       <dt>A start tag token whose tag name is one of: "script", "style"
+       <dt>A start tag token whose tag name is one of: "base", "link",
+        "meta", "script", "style"
 
        <dd>
         <p>Process the token as if the <a href="#insertion0">insertion
          mode</a> had been "<a href="#in-head" title="insertion mode: in
          head">in head</a>".</p>
 
-       <dt>A start tag token whose tag name is one of: "base", "link",
-        "meta", "title"
+       <dt>A start tag token whose tag name is one of: "title"
 
        <dd>
         <p><a href="#parse">Parse error</a>. Process the token as if the <a

Modified: source
===================================================================
--- source	2007-06-20 01:11:51 UTC (rev 934)
+++ source	2007-06-20 02:00:50 UTC (rev 935)
@@ -33481,10 +33481,13 @@
 
         <p><span>Create an element for the token</span>.</p>
 
-        <p>Append the new element to the node pointed to by the
-        <span><code title="">head</code> element pointer</span>, or,
-        if that is null (<span>fragment case</span>), to the
-        <span>current node</span>.</p>
+        <p>Append the new element to the <span>current node</span>,
+        unless the <span>insertion mode</span> is "<span
+        title="insertion mode: in head">in head</span>" and the
+        <span><code title="">head</code> element pointer</span> is not
+        null, in which case append it to the node pointed to by the
+        <span><code title="">head</code> element pointer</span>. <!--
+        handles </head><base><link><meta> -->
 
        </dd>
 
@@ -33638,14 +33641,14 @@
         the data given in the comment token.</p>
        </dd>
 
-       <dt>A start tag token whose tag name is one of: "script", "style"</dt>
+       <dt>A start tag token whose tag name is one of: "base", "link",
+       "meta", "script", "style"</dt>
        <dd>
         <p>Process the token as if the <span>insertion mode</span> had
         been "<span title="insertion mode: in head">in head</span>".</p>
        </dd>
 
-       <dt>A start tag token whose tag name is one of: "base", "link",
-       "meta", "title"</dt>
+       <dt>A start tag token whose tag name is one of: "title"</dt>
        <dd>
         <p><span>Parse error</span>. Process the token as if the
         <span>insertion mode</span> had been "<span title="insertion




More information about the Commit-Watchers mailing list