Skip to content
Permalink
Browse files
[giowt] (2) Make sure </svg> exits foreign content mode
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10217

git-svn-id: http://svn.whatwg.org/webapps@5297 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 16, 2010
1 parent 721e0b5 commit 24dcad5939af2b7831aa49e3f5b617779bc719dc
Showing with 21 additions and 15 deletions.
  1. +7 −5 complete.html
  2. +7 −5 index
  3. +7 −5 source
@@ -84821,9 +84821,10 @@ <h5 id=parsing-main-inselect><span class=secno>12.2.5.19 </span>The "<dfn title=
error</a>.</li>

<li><p><i>Loop</i>: If <var title="">node</var> has the same tag
name as the token, pop elements from the <a href=#stack-of-open-elements>stack of
open elements</a> until <var title="">node</var> has been
popped from the stack, and then abort these steps.</li>
name as the token, pop elements from the <a href=#stack-of-open-elements>stack of open
elements</a> until <var title="">node</var> has been popped
from the stack, and then jump to the last step of this list of
steps.</li>

<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>
@@ -84833,8 +84834,9 @@ <h5 id=parsing-main-inselect><span class=secno>12.2.5.19 </span>The "<dfn title=
<i>loop</i>.</li>

<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
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
12 index
@@ -77923,9 +77923,10 @@ document.body.appendChild(text);
error</a>.</li>

<li><p><i>Loop</i>: If <var title="">node</var> has the same tag
name as the token, pop elements from the <a href=#stack-of-open-elements>stack of
open elements</a> until <var title="">node</var> has been
popped from the stack, and then abort these steps.</li>
name as the token, pop elements from the <a href=#stack-of-open-elements>stack of open
elements</a> until <var title="">node</var> has been popped
from the stack, and then jump to the last step of this list of
steps.</li>

<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>
@@ -77935,8 +77936,9 @@ document.body.appendChild(text);
<i>loop</i>.</li>

<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
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
12 source
@@ -96743,9 +96743,10 @@ document.body.appendChild(text);
error</span>.</p></li>

<li><p><i>Loop</i>: If <var title="">node</var> has the same tag
name as the token, pop elements from the <span>stack of
open elements</span> until <var title="">node</var> has been
popped from the stack, and then abort these steps.</p></li>
name as the token, pop elements from the <span>stack of open
elements</span> until <var title="">node</var> has been popped
from the stack, and then jump to the last step of this list of
steps.</p></li>

<li><p>Set <var title="">node</var> to the previous entry in the
<span>stack of open elements</span>.</p></li>
@@ -96755,8 +96756,9 @@ document.body.appendChild(text);
<i>loop</i>.</p></li>

<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
for</span> the <span>secondary insertion mode</span>.</p></li>

<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

0 comments on commit 24dcad5

Please sign in to comment.