Bugzilla – Bug 211
Always set the secondary insertion mode when switching to foreign content... (credit: hs)
Last modified: 2008-05-28 14:21:39 CEST
Index: source =================================================================== --- source (revision 1695) +++ source (revision 1696) @@ -40022,10 +40022,12 @@ steps.</li> <li>If <var title="">node</var> is an element from the <span>MathML - namespace</span><!--XXXSVG or the <span>SVG namespace</span>-->, then switch the - <span>insertion mode</span> to "<span title="insertion mode: in - foreign content">in foreign content</span>" and abort these - steps.</li> + namespace</span><!--XXXSVG or the <span>SVG namespace</span>-->, + then switch the <span>insertion mode</span> to "<span + title="insertion mode: in foreign content">in foreign + content</span>", let the <span>secondary insertion mode</span> be + "<span title="insertion mode: in body">in body</span>", and abort + these steps.</li> <li>If <var title="">node</var> is a <code>head</code> element, then switch the <span>insertion mode</span> to "<span