[html5] r5155 - [giow] (2) Foreign content end tag handling change. Fixing http://www.w3.org/Bug [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jul 13 17:32:57 PDT 2010


Author: ianh
Date: 2010-07-13 17:32:56 -0700 (Tue, 13 Jul 2010)
New Revision: 5155

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Foreign content end tag handling change.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9580

Modified: complete.html
===================================================================
--- complete.html	2010-07-13 22:24:33 UTC (rev 5154)
+++ complete.html	2010-07-14 00:32:56 UTC (rev 5155)
@@ -209,7 +209,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Draft Standard — 13 July 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 14 July 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -83710,21 +83710,19 @@
      <li><p>Set <var title="">node</var> to the previous entry in the
      <a href=#stack-of-open-elements>stack of open elements</a>.</li>
 
-     <li>
+     <li><p>If <var title="">node</var> is not an element in the
+     <a href=#html-namespace-0>HTML namespace</a>, return to the step labeled
+     <i>loop</i>.</li>
 
-      <p>If <var title="">node</var> is an element in the <a href=#html-namespace-0>HTML
-      namespace</a>, process the token <a href=#using-the-rules-for>using the rules
-      for</a> the <a href=#secondary-insertion-mode>secondary insertion mode</a>. If, after
-      doing so, the <a href=#insertion-mode>insertion mode</a> is still "<a href=#parsing-main-inforeign title="insertion mode: in foreign content">in foreign
-      content</a>", but there is no element <a href=#has-an-element-in-scope title="has an
-      element in scope">in scope</a> that has a namespace other
-      than the <a href=#html-namespace-0>HTML namespace</a>, switch the <a href=#insertion-mode>insertion
-      mode</a> to the <a href=#secondary-insertion-mode>secondary insertion mode</a>.</p>
+     <li><p>Otherwise, process the token <a href=#using-the-rules-for>using the rules
+     for</a> the <a href=#secondary-insertion-mode>secondary insertion mode</a>. If, after
+     doing so, the <a href=#insertion-mode>insertion mode</a> is still "<a href=#parsing-main-inforeign title="insertion mode: in foreign content">in foreign
+     content</a>", but there is no element <a href=#has-an-element-in-scope title="has an
+     element in scope">in scope</a> that has a namespace other than
+     the <a href=#html-namespace-0>HTML namespace</a>, switch the <a href=#insertion-mode>insertion
+     mode</a> to the <a href=#secondary-insertion-mode>secondary insertion
+     mode</a>.</li>
 
-     </li>
-
-     <li><p>Return to the step labeled <i>loop</i>.</li>
-
     </ol></dd>
 
    <dt>A start tag whose tag name is neither "mglyph" nor "malignmark", if the <a href=#current-node>current node</a> is an <code title="">mi</code> element in the <a href=#mathml-namespace>MathML namespace</a>.</dt>

Modified: index
===================================================================
--- index	2010-07-13 22:24:33 UTC (rev 5154)
+++ index	2010-07-14 00:32:56 UTC (rev 5155)
@@ -213,7 +213,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>HTML5 (including next generation additions still in development)</h1>
-    <h2 class="no-num no-toc">Draft Standard — 13 July 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 14 July 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -76951,21 +76951,19 @@
      <li><p>Set <var title="">node</var> to the previous entry in the
      <a href=#stack-of-open-elements>stack of open elements</a>.</li>
 
-     <li>
+     <li><p>If <var title="">node</var> is not an element in the
+     <a href=#html-namespace-0>HTML namespace</a>, return to the step labeled
+     <i>loop</i>.</li>
 
-      <p>If <var title="">node</var> is an element in the <a href=#html-namespace-0>HTML
-      namespace</a>, process the token <a href=#using-the-rules-for>using the rules
-      for</a> the <a href=#secondary-insertion-mode>secondary insertion mode</a>. If, after
-      doing so, the <a href=#insertion-mode>insertion mode</a> is still "<a href=#parsing-main-inforeign title="insertion mode: in foreign content">in foreign
-      content</a>", but there is no element <a href=#has-an-element-in-scope title="has an
-      element in scope">in scope</a> that has a namespace other
-      than the <a href=#html-namespace-0>HTML namespace</a>, switch the <a href=#insertion-mode>insertion
-      mode</a> to the <a href=#secondary-insertion-mode>secondary insertion mode</a>.</p>
+     <li><p>Otherwise, process the token <a href=#using-the-rules-for>using the rules
+     for</a> the <a href=#secondary-insertion-mode>secondary insertion mode</a>. If, after
+     doing so, the <a href=#insertion-mode>insertion mode</a> is still "<a href=#parsing-main-inforeign title="insertion mode: in foreign content">in foreign
+     content</a>", but there is no element <a href=#has-an-element-in-scope title="has an
+     element in scope">in scope</a> that has a namespace other than
+     the <a href=#html-namespace-0>HTML namespace</a>, switch the <a href=#insertion-mode>insertion
+     mode</a> to the <a href=#secondary-insertion-mode>secondary insertion
+     mode</a>.</li>
 
-     </li>
-
-     <li><p>Return to the step labeled <i>loop</i>.</li>
-
     </ol></dd>
 
    <dt>A start tag whose tag name is neither "mglyph" nor "malignmark", if the <a href=#current-node>current node</a> is an <code title="">mi</code> element in the <a href=#mathml-namespace>MathML namespace</a>.</dt>

Modified: source
===================================================================
--- source	2010-07-13 22:24:33 UTC (rev 5154)
+++ source	2010-07-14 00:32:56 UTC (rev 5155)
@@ -95492,22 +95492,20 @@
      <li><p>Set <var title="">node</var> to the previous entry in the
      <span>stack of open elements</span>.</p></li>
 
-     <li>
+     <li><p>If <var title="">node</var> is not an element in the
+     <span>HTML namespace</span>, return to the step labeled
+     <i>loop</i>.</p></li>
 
-      <p>If <var title="">node</var> is an element in the <span>HTML
-      namespace</span>, process the token <span>using the rules
-      for</span> the <span>secondary insertion mode</span>. If, after
-      doing so, the <span>insertion mode</span> is still "<span
-      title="insertion mode: in foreign content">in foreign
-      content</span>", but there is no element <span title="has an
-      element in scope">in scope</span> that has a namespace other
-      than the <span>HTML namespace</span>, switch the <span>insertion
-      mode</span> to the <span>secondary insertion mode</span>.</p>
+     <li><p>Otherwise, process the token <span>using the rules
+     for</span> the <span>secondary insertion mode</span>. If, after
+     doing so, the <span>insertion mode</span> is still "<span
+     title="insertion mode: in foreign content">in foreign
+     content</span>", but there is no element <span title="has an
+     element in scope">in scope</span> that has a namespace other than
+     the <span>HTML namespace</span>, switch the <span>insertion
+     mode</span> to the <span>secondary insertion
+     mode</span>.</p></li>
 
-     </li>
-
-     <li><p>Return to the step labeled <i>loop</i>.</p></li>
-
     </ol>
 
    </dd>




More information about the Commit-Watchers mailing list