[html5] r2583 - [ac] (0) Change the allowed content model for <svg:foreignObject> when it contai [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Dec 24 16:25:20 PST 2008


Author: ianh
Date: 2008-12-24 16:25:19 -0800 (Wed, 24 Dec 2008)
New Revision: 2583

Modified:
   index
   source
Log:
[ac] (0) Change the allowed content model for <svg:foreignObject> when it contains HTML. (credit: hs)

Modified: index
===================================================================
--- index	2008-12-24 22:03:16 UTC (rev 2582)
+++ index	2008-12-25 00:25:19 UTC (rev 2583)
@@ -21,7 +21,7 @@
   <div class=head>
    <p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <h1>HTML 5</h1>
-   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 24 December 2008</h2>
+   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 25 December 2008</h2>
    <p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <dl><dt>Multiple-page version:</dt>
@@ -6957,18 +6957,6 @@
   relevant contexts.</p>
 
   <div class=example>
-   <p>The SVG specification defines the SVG <code>foreignObject</code>
-   element as allowing foreign namespaces to be included, thus
-   allowing compound documents to be created by inserting subdocument
-   content under that element. <em>This</em> specification defines the
-   XHTML <code><a href=#the-html-element>html</a></code> element as being allowed where subdocument
-   fragments are allowed in a compound document. Together, these two
-   definitions mean that placing an XHTML <code><a href=#the-html-element>html</a></code> element as
-   a child of an SVG <code>foreignObject</code> element is
-   conforming. <a href=#refsSVG>[SVG]</a></p>
-  </div>
-
-  <div class=example>
    <p>The Atom specification defines the Atom <code title="">content</code> element, when its <code title="">type</code> attribute has the value <code title="">xhtml</code>, as requiring that it contains a single HTML
    <code><a href=#the-div-element>div</a></code> element. Thus, a <code><a href=#the-div-element>div</a></code> element is
    allowed in that context, even though this is not explicitly
@@ -21700,7 +21688,12 @@
   way to export any SVG fragment as a namespace-well-formed XML
   fragment.</p>
 
+  <p>When the SVG <code>foreignObject</code> element contains elements
+  from the HTML namespace, such elements must all be <a href=#flow-content-0>flow
+  content</a> and must not be interleaved with non-HTML
+  elements. <a href=#refsSVG>[SVG]</a></p>
 
+
   <h4 id=dimension-attributes><span class=secno>4.8.17 </span><dfn>Dimension attributes</dfn></h4>
 
   <p>The <dfn id=attr-dim-width title=attr-dim-width><code>width</code></dfn> and <dfn id=attr-dim-height title=attr-dim-height><code>height</code></dfn> attributes on

Modified: source
===================================================================
--- source	2008-12-24 22:03:16 UTC (rev 2582)
+++ source	2008-12-25 00:25:19 UTC (rev 2583)
@@ -7069,18 +7069,6 @@
   relevant contexts.</p>
 
   <div class="example">
-   <p>The SVG specification defines the SVG <code>foreignObject</code>
-   element as allowing foreign namespaces to be included, thus
-   allowing compound documents to be created by inserting subdocument
-   content under that element. <em>This</em> specification defines the
-   XHTML <code>html</code> element as being allowed where subdocument
-   fragments are allowed in a compound document. Together, these two
-   definitions mean that placing an XHTML <code>html</code> element as
-   a child of an SVG <code>foreignObject</code> element is
-   conforming. <a href="#refsSVG">[SVG]</a></p>
-  </div>
-
-  <div class="example">
    <p>The Atom specification defines the Atom <code
    title="">content</code> element, when its <code
    title="">type</code> attribute has the value <code
@@ -23951,7 +23939,12 @@
   way to export any SVG fragment as a namespace-well-formed XML
   fragment.</p>
 
+  <p>When the SVG <code>foreignObject</code> element contains elements
+  from the HTML namespace, such elements must all be <span>flow
+  content</span> and must not be interleaved with non-HTML
+  elements. <a href="#refsSVG">[SVG]</a></p>
 
+
   <h4><dfn>Dimension attributes</dfn></h4>
 
   <p>The <dfn title="attr-dim-width"><code>width</code></dfn> and <dfn




More information about the Commit-Watchers mailing list