Skip to content

Commit

Permalink
[ac] (0) Change the allowed content model for <svg:foreignObject> whe…
Browse files Browse the repository at this point in the history
…n it contains HTML. (credit: hs)

git-svn-id: http://svn.whatwg.org/webapps@2583 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 25, 2008
1 parent e436a2f commit 5f22b05
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 25 deletions.
19 changes: 6 additions & 13 deletions index
Expand Up @@ -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-&mdash;-date:-01-jan-1901>Draft Recommendation &mdash; 24 December 2008</h2>
<h2 class="no-num no-toc" id=draft-recommendation-&mdash;-date:-01-jan-1901>Draft Recommendation &mdash; 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>
Expand Down Expand Up @@ -6956,18 +6956,6 @@ background: transparent"&gt;blue&lt;/span&gt;.&lt;/p&gt;</pre>
other namespaces, if those elements are defined as providing the
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
Expand Down Expand Up @@ -21700,6 +21688,11 @@ function AddCloud(data, x, y) { ... }</pre>
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>

Expand Down
17 changes: 5 additions & 12 deletions source
Expand Up @@ -7068,18 +7068,6 @@ background: transparent">blue&lt;/span>.&lt;/p></pre>
other namespaces, if those elements are defined as providing the
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
Expand Down Expand Up @@ -23951,6 +23939,11 @@ function AddCloud(data, x, y) { ... }</pre>
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>

Expand Down

0 comments on commit 5f22b05

Please sign in to comment.