NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 211 - Always set the secondary insertion mode when switching to foreign content... (credit: hs)
Always set the secondary insertion mode when switching to foreign content... ...
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-25 21:05 CEST by Henri Sivonen
Modified: 2008-05-28 14:21 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2008-05-25 21:05:51 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