[html5] r8111 - [giow] (3) Make sure all the nodes created by the AAA are in the HTML namespace. [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Jul 31 14:10:00 PDT 2013


Author: ianh
Date: 2013-07-31 14:09:58 -0700 (Wed, 31 Jul 2013)
New Revision: 8111

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Make sure all the nodes created by the AAA are in the HTML namespace.
Affected topics: HTML Syntax and Parsing

Modified: complete.html
===================================================================
--- complete.html	2013-07-31 20:41:20 UTC (rev 8110)
+++ complete.html	2013-07-31 21:09:58 UTC (rev 8111)
@@ -89347,6 +89347,7 @@
    intended parent being the element in which the <var title="">adjusted insertion location</var>
    finds itself.</li>
 
+<!--CLEANUP-->
    <!-- this could just as easily be in the "create..." algorithm I guess -->
    <li><p>If the element is a <a href=#form-associated-element>form-associated element</a>, and the <a href=#form-element-pointer><code title="">form</code> element pointer</a> is not null, and the newly created element is either not <a href=#category-form-attr title=category-form-attr>reassociateable</a> or doesn't
    have a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute, <a href=#concept-form-association title=concept-form-association>associate</a> the newly created element with the
@@ -89371,7 +89372,7 @@
 
    <li><p>Return the newly created element.</li>
 
-  </ol><hr><p>When the steps below require the UA to <dfn id=insert-a-foreign-element>insert a foreign element</dfn> for a token, the UA
+  </ol><hr><!--CLEANUP--><p>When the steps below require the UA to <dfn id=insert-a-foreign-element>insert a foreign element</dfn> for a token, the UA
   must first <a href=#create-an-element-for-the-token>create an element for the token</a> in the given namespace, with the <a href=#current-node>current node</a> as the intended parent, and then append
   this node to the <a href=#current-node>current node</a>, and push it onto the <a href=#stack-of-open-elements>stack of open
   elements</a> so that it is the new <a href=#current-node>current node</a>. If the newly created element has
@@ -89822,6 +89823,7 @@
    <dt>A start tag whose tag name is "html"</dt>
    <dd>
 
+<!--CLEANUP-->
     <p><a href=#create-an-element-for-the-token>Create an element for the token</a> in the <a href=#html-namespace-0>HTML
     namespace</a>, with the <code><a href=#document>Document</a></code> as the intended parent. Append it to the <code><a href=#document>Document</a></code>
     object. Put this element in the <a href=#stack-of-open-elements>stack of open
@@ -90049,6 +90051,7 @@
 
      <li>
 
+<!--CLEANUP-->
       <p>Mark the element as being <a href=#parser-inserted>"parser-inserted"</a> and
       unset the element's <a href=#force-async>"force-async"</a> flag.</p>
 
@@ -91555,7 +91558,8 @@
      formatting elements</a>, then remove <var title="">node</var> from the <a href=#stack-of-open-elements>stack of open
      elements</a> and then go back to the step labeled <i>inner loop</i>.</li>
 
-     <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> for which the element <var title="">node</var> was created, with <var title="">common ancestor</var> as the intended
+<!--CLEANUP-->
+     <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> for which the element <var title="">node</var> was created, in the <a href=#html-namespace-0>HTML namespace</a>, with <var title="">common ancestor</var> as the intended
      parent; replace the entry for <var title="">node</var> in the <a href=#list-of-active-formatting-elements>list of active formatting
      elements</a> with an entry for the new element, replace the entry for <var title="">node</var> in the <a href=#stack-of-open-elements>stack of open elements</a> with an entry for the new
      element, and let <var title="">node</var> be the new element.</li>
@@ -91578,7 +91582,7 @@
    ancestor</var> as the <i>override target</i>.</li>
 
    <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> for which <var title="">formatting
-   element</var> was created, with <var title="">furthest block</var> as the intended
+   element</var> was created, in the <a href=#html-namespace-0>HTML namespace</a>, with <var title="">furthest block</var> as the intended
    parent.</li>
 
    <li><p>Take all of the child nodes of <var title="">furthest block</var> and append them to the

Modified: index
===================================================================
--- index	2013-07-31 20:41:20 UTC (rev 8110)
+++ index	2013-07-31 21:09:58 UTC (rev 8111)
@@ -89347,6 +89347,7 @@
    intended parent being the element in which the <var title="">adjusted insertion location</var>
    finds itself.</li>
 
+<!--CLEANUP-->
    <!-- this could just as easily be in the "create..." algorithm I guess -->
    <li><p>If the element is a <a href=#form-associated-element>form-associated element</a>, and the <a href=#form-element-pointer><code title="">form</code> element pointer</a> is not null, and the newly created element is either not <a href=#category-form-attr title=category-form-attr>reassociateable</a> or doesn't
    have a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute, <a href=#concept-form-association title=concept-form-association>associate</a> the newly created element with the
@@ -89371,7 +89372,7 @@
 
    <li><p>Return the newly created element.</li>
 
-  </ol><hr><p>When the steps below require the UA to <dfn id=insert-a-foreign-element>insert a foreign element</dfn> for a token, the UA
+  </ol><hr><!--CLEANUP--><p>When the steps below require the UA to <dfn id=insert-a-foreign-element>insert a foreign element</dfn> for a token, the UA
   must first <a href=#create-an-element-for-the-token>create an element for the token</a> in the given namespace, with the <a href=#current-node>current node</a> as the intended parent, and then append
   this node to the <a href=#current-node>current node</a>, and push it onto the <a href=#stack-of-open-elements>stack of open
   elements</a> so that it is the new <a href=#current-node>current node</a>. If the newly created element has
@@ -89822,6 +89823,7 @@
    <dt>A start tag whose tag name is "html"</dt>
    <dd>
 
+<!--CLEANUP-->
     <p><a href=#create-an-element-for-the-token>Create an element for the token</a> in the <a href=#html-namespace-0>HTML
     namespace</a>, with the <code><a href=#document>Document</a></code> as the intended parent. Append it to the <code><a href=#document>Document</a></code>
     object. Put this element in the <a href=#stack-of-open-elements>stack of open
@@ -90049,6 +90051,7 @@
 
      <li>
 
+<!--CLEANUP-->
       <p>Mark the element as being <a href=#parser-inserted>"parser-inserted"</a> and
       unset the element's <a href=#force-async>"force-async"</a> flag.</p>
 
@@ -91555,7 +91558,8 @@
      formatting elements</a>, then remove <var title="">node</var> from the <a href=#stack-of-open-elements>stack of open
      elements</a> and then go back to the step labeled <i>inner loop</i>.</li>
 
-     <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> for which the element <var title="">node</var> was created, with <var title="">common ancestor</var> as the intended
+<!--CLEANUP-->
+     <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> for which the element <var title="">node</var> was created, in the <a href=#html-namespace-0>HTML namespace</a>, with <var title="">common ancestor</var> as the intended
      parent; replace the entry for <var title="">node</var> in the <a href=#list-of-active-formatting-elements>list of active formatting
      elements</a> with an entry for the new element, replace the entry for <var title="">node</var> in the <a href=#stack-of-open-elements>stack of open elements</a> with an entry for the new
      element, and let <var title="">node</var> be the new element.</li>
@@ -91578,7 +91582,7 @@
    ancestor</var> as the <i>override target</i>.</li>
 
    <li><p><a href=#create-an-element-for-the-token>Create an element for the token</a> for which <var title="">formatting
-   element</var> was created, with <var title="">furthest block</var> as the intended
+   element</var> was created, in the <a href=#html-namespace-0>HTML namespace</a>, with <var title="">furthest block</var> as the intended
    parent.</li>
 
    <li><p>Take all of the child nodes of <var title="">furthest block</var> and append them to the

Modified: source
===================================================================
--- source	2013-07-31 20:41:20 UTC (rev 8110)
+++ source	2013-07-31 21:09:58 UTC (rev 8111)
@@ -99811,6 +99811,7 @@
    intended parent being the element in which the <var title="">adjusted insertion location</var>
    finds itself.</p></li>
 
+<!--CLEANUP-->
    <!-- this could just as easily be in the "create..." algorithm I guess -->
    <li><p>If the element is a <span>form-associated element</span>, and the <span><code
    title="">form</code> element pointer</span> is not null, and the newly created element is either not <span title="category-form-attr">reassociateable</span> or doesn't
@@ -99841,6 +99842,7 @@
 
   <hr>
 
+<!--CLEANUP-->
   <p>When the steps below require the UA to <dfn>insert a foreign element</dfn> for a token, the UA
   must first <span>create an element for the token</span> in the given namespace, with the <span>current node</span> as the intended parent, and then append
   this node to the <span>current node</span>, and push it onto the <span>stack of open
@@ -100365,6 +100367,7 @@
    <dt>A start tag whose tag name is "html"</dt>
    <dd>
 
+<!--CLEANUP-->
     <p><span>Create an element for the token</span> in the <span>HTML
     namespace</span>, with the <code>Document</code> as the intended parent. Append it to the <code>Document</code>
     object. Put this element in the <span>stack of open
@@ -100617,6 +100620,7 @@
 
      <li>
 
+<!--CLEANUP-->
       <p>Mark the element as being <span>"parser-inserted"</span> and
       unset the element's <span>"force-async"</span> flag.</p>
 
@@ -102268,8 +102272,9 @@
      formatting elements</span>, then remove <var title="">node</var> from the <span>stack of open
      elements</span> and then go back to the step labeled <i>inner loop</i>.</p></li>
 
+<!--CLEANUP-->
      <li><p><span>Create an element for the token</span> for which the element <var
-     title="">node</var> was created, with <var title="">common ancestor</var> as the intended
+     title="">node</var> was created, in the <span>HTML namespace</span>, with <var title="">common ancestor</var> as the intended
      parent; replace the entry for <var title="">node</var> in the <span>list of active formatting
      elements</span> with an entry for the new element, replace the entry for <var
      title="">node</var> in the <span>stack of open elements</span> with an entry for the new
@@ -102295,7 +102300,7 @@
    ancestor</var> as the <i>override target</i>.</p></li>
 
    <li><p><span>Create an element for the token</span> for which <var title="">formatting
-   element</var> was created, with <var title="">furthest block</var> as the intended
+   element</var> was created, in the <span>HTML namespace</span>, with <var title="">furthest block</var> as the intended
    parent.</p></li>
 
    <li><p>Take all of the child nodes of <var title="">furthest block</var> and append them to the




More information about the Commit-Watchers mailing list