[html5] r1420 - /
whatwg at whatwg.org
whatwg at whatwg.org
Tue Apr 8 16:15:23 PDT 2008
Author: ianh
Date: 2008-04-08 16:15:22 -0700 (Tue, 08 Apr 2008)
New Revision: 1420
Modified:
index
source
Log:
[] (0) Allow <![CDATA[ .. ]]> in foreign content even in <mo>, <foreignObject>, etc. Just not in HTML elements.
Modified: index
===================================================================
--- index 2008-04-08 21:28:46 UTC (rev 1419)
+++ index 2008-04-08 23:15:22 UTC (rev 1420)
@@ -40737,39 +40737,13 @@
<p>Otherwise, if the <span>insertion mode</span> is "<a
href="#in-foreign" title="insertion mode: in foreign content">in foreign
- content</a>" and the <a href="#current4">current node</a> is not one of
- the following:</p>
-
- <ul>
- <li>An <code title="">mi</code> element in the <a href="#mathml0">MathML
- namespace</a>.
-
- <li>An <code title="">mo</code> element in the <a href="#mathml0">MathML
- namespace</a>.
-
- <li>An <code title="">mn</code> element in the <a href="#mathml0">MathML
- namespace</a>.
-
- <li>An <code title="">ms</code> element in the <a href="#mathml0">MathML
- namespace</a>.
-
- <li>An <code title="">mtext</code> element in the <a
- href="#mathml0">MathML namespace</a>.
-
- <li>A <code title="">foreignObject</code> element in the <a
- href="#svg-namespace">SVG namespace</a>.
-
- <li>A <code title="">desc</code> element in the <a
- href="#svg-namespace">SVG namespace</a>.
-
- <li>A <code title="">title</code> element in the <a
- href="#svg-namespace">SVG namespace</a>.
- </ul>
-
- <p>...and the next seven characters are a
- <span>case-sensitive</span><!-- XXX xref, ascii only --> match for the
- string "[CDATA[" (the five uppercase letters "CDATA" with a U+005B LEFT
- SQUARE BRACKET character before and after), then consume those
+ content</a>" and the <a href="#current4">current node</a> is not an
+ element in the <a href="#html-namespace0">HTML namespace</a> and the
+ next seven characters are a
+ <span>case-sensitive</span><!-- XXX xref, ascii
+ only --> match for
+ the string "[CDATA[" (the five uppercase letters "CDATA" with a U+005B
+ LEFT SQUARE BRACKET character before and after), then consume those
characters and switch to the <a href="#cdata1">CDATA block state</a>
(which is unrelated to the <a href="#content2">content model flag</a>'s
CDATA state).</p>
Modified: source
===================================================================
--- source 2008-04-08 21:28:46 UTC (rev 1419)
+++ source 2008-04-08 23:15:22 UTC (rev 1420)
@@ -38229,28 +38229,15 @@
<p>Otherwise, if the <span>insertion mode</span> is "<span
title="insertion mode: in foreign content">in foreign
- content</span>" and the <span>current node</span> is not one of
- the following:</p>
+ content</span>" and the <span>current node</span> is not an
+ element in the <span>HTML namespace</span> and the next seven
+ characters are a <span>case-sensitive</span><!-- XXX xref, ascii
+ only --> match for the string "[CDATA[" (the five uppercase
+ letters "CDATA" with a U+005B LEFT SQUARE BRACKET character before
+ and after), then consume those characters and switch to the
+ <span>CDATA block state</span> (which is unrelated to the
+ <span>content model flag</span>'s CDATA state).</p>
- <ul>
- <li>An <code title="">mi</code> element in the <span>MathML namespace</span>.</li>
- <li>An <code title="">mo</code> element in the <span>MathML namespace</span>.</li>
- <li>An <code title="">mn</code> element in the <span>MathML namespace</span>.</li>
- <li>An <code title="">ms</code> element in the <span>MathML namespace</span>.</li>
- <li>An <code title="">mtext</code> element in the <span>MathML namespace</span>.</li>
- <li>A <code title="">foreignObject</code> element in the <span>SVG namespace</span>.</li>
- <li>A <code title="">desc</code> element in the <span>SVG namespace</span>.</li>
- <li>A <code title="">title</code> element in the <span>SVG namespace</span>.</li>
- </ul>
-
- <p>...and the next seven characters are a
- <span>case-sensitive</span><!-- XXX xref, ascii only --> match for
- the string "[CDATA[" (the five uppercase letters "CDATA" with a
- U+005B LEFT SQUARE BRACKET character before and after), then
- consume those characters and switch to the <span>CDATA block
- state</span> (which is unrelated to the <span>content model
- flag</span>'s CDATA state).</p>
-
<p>Otherwise, this is a <span>parse error</span>. Switch to the
<span>bogus comment state</span>. The next character that is
consumed, if any, is the first character that will be in the
More information about the Commit-Watchers
mailing list