Skip to content

Commit

Permalink
[giow] (1) <math><mi><object><span></span></object></mi><mi>: last <m…
Browse files Browse the repository at this point in the history
…i> ends up in the wrong namespace

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10418

git-svn-id: http://svn.whatwg.org/webapps@5520 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 26, 2010
1 parent ce6a943 commit 34e6ffc
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 45 deletions.
21 changes: 6 additions & 15 deletions complete.html
Expand Up @@ -82834,11 +82834,8 @@ <h5 id=parsing-main-inselect><span class=secno>12.2.5.19 </span>The "<dfn title=
for</a> the <a href=#secondary-insertion-mode>secondary insertion mode</a>.</li>

<li><p>If 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>
content</a>", <a href=#reset-the-insertion-mode-appropriately>reset the insertion mode
appropriately</a>.</li>

</ol></dd>

Expand All @@ -82862,10 +82859,8 @@ <h5 id=parsing-main-inselect><span class=secno>12.2.5.19 </span>The "<dfn title=

<p>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>
content</a>", <a href=#reset-the-insertion-mode-appropriately>reset the insertion mode
appropriately</a>.</p>

</dd>

Expand Down Expand Up @@ -82908,12 +82903,8 @@ <h5 id=parsing-main-inselect><span class=secno>12.2.5.19 </span>The "<dfn title=
<li>a <code title="">title</code> element in the <a href=#svg-namespace>SVG namespace</a></li>
<li>an element in the <a href=#html-namespace-0>HTML namespace</a></li>

</ul><p>If, after doing so, 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>

<p>Reprocess the token.</p>
</ul><p>Then, <a href=#reset-the-insertion-mode-appropriately>reset the insertion mode appropriately</a> and
reprocess the token.</p>

</dd>

Expand Down
21 changes: 6 additions & 15 deletions index
Expand Up @@ -78752,11 +78752,8 @@ document.body.appendChild(text);
for</a> the <a href=#secondary-insertion-mode>secondary insertion mode</a>.</li>

<li><p>If 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>
content</a>", <a href=#reset-the-insertion-mode-appropriately>reset the insertion mode
appropriately</a>.</li>

</ol></dd>

Expand All @@ -78780,10 +78777,8 @@ document.body.appendChild(text);

<p>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>
content</a>", <a href=#reset-the-insertion-mode-appropriately>reset the insertion mode
appropriately</a>.</p>

</dd>

Expand Down Expand Up @@ -78826,12 +78821,8 @@ document.body.appendChild(text);
<li>a <code title="">title</code> element in the <a href=#svg-namespace>SVG namespace</a></li>
<li>an element in the <a href=#html-namespace-0>HTML namespace</a></li>

</ul><p>If, after doing so, 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>

<p>Reprocess the token.</p>
</ul><p>Then, <a href=#reset-the-insertion-mode-appropriately>reset the insertion mode appropriately</a> and
reprocess the token.</p>

</dd>

Expand Down
21 changes: 6 additions & 15 deletions source
Expand Up @@ -94525,11 +94525,8 @@ document.body.appendChild(text);

<li><p>If 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>
content</span>", <span>reset the insertion mode
appropriately</span>.</p></li>

</ol>

Expand All @@ -94555,10 +94552,8 @@ document.body.appendChild(text);

<p>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>
content</span>", <span>reset the insertion mode
appropriately</span>.</p>

</dd>

Expand Down Expand Up @@ -94605,12 +94600,8 @@ document.body.appendChild(text);

</ul>

<p>If, after doing so, 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>

<p>Reprocess the token.</p>
<p>Then, <span>reset the insertion mode appropriately</span> and
reprocess the token.</p>

</dd>

Expand Down

0 comments on commit 34e6ffc

Please sign in to comment.