[html5] r2594 - / images
whatwg at whatwg.org
whatwg at whatwg.org
Sat Dec 27 03:36:17 PST 2008
Author: ianh
Date: 2008-12-27 03:36:16 -0800 (Sat, 27 Dec 2008)
New Revision: 2594
Added:
images/content-venn.png
Modified:
index
source
Log:
[e] (0) Replace the paragraphs about relationships between kinds of content with a diagram.
Added: images/content-venn.png
===================================================================
(Binary files differ)
Property changes on: images/content-venn.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: index
===================================================================
--- index 2008-12-27 10:57:23 UTC (rev 2593)
+++ index 2008-12-27 11:36:16 UTC (rev 2594)
@@ -6997,7 +6997,14 @@
<li><a href=#phrasing-content-0>Phrasing content</a></li>
<li><a href=#embedded-content-1>Embedded content</a></li>
<li><a href=#interactive-content-0>Interactive content</a></li>
- </ul><p>In addition, certain elements are categorised as <a href=#form-associated-element title="form-associated element">form-associated elements</a> and
+ </ul><p>These categories are related as follows:
+
+ <p><img alt="Sectioning content,
+ heading content, phrasing content, and embedded content are all
+ types of flow content. Embedded content is also a type of phrasing
+ content." src=images/content-venn.png></p>
+
+ <p>In addition, certain elements are categorised as <a href=#form-associated-element title="form-associated element">form-associated elements</a> and
further subcategorised so so to define their role in various
form-related processing models.</p>
@@ -7075,10 +7082,6 @@
of <a href=#heading-content-0 title="heading content">headers</a>, <a href=#the-footer-element title=footer>footers</a>, and <a href=#the-address-element title=address>contact
information</a>.</p>
- <p>All <a href=#sectioning-content-0>sectioning content</a> is also <a href=#flow-content-0>flow
- content</a>. Any content model that expects <a href=#flow-content-0>flow
- content</a> thus accepts <a href=#sectioning-content-0>sectioning content</a>.</p>
-
<p>Each <a href=#sectioning-content-0>sectioning content</a> element potentially has a
heading and an <a href=#outline>outline</a>. See the section on
<a href=#headings-and-sections>headings and sections</a> for further details.</p>
@@ -7094,21 +7097,13 @@
(whether explicitly marked up using <a href=#sectioning-content-0>sectioning content</a>
elements, or implied by the heading content itself).</p>
- <p>All <a href=#heading-content-0>heading content</a> is also <a href=#flow-content-0>flow
- content</a>. Any content model that expects <a href=#flow-content-0>flow
- content</a> thus accepts <a href=#sectioning-content-0>sectioning content</a>.</p>
-
<h5 id=phrasing-content><span class=secno>3.4.1.5 </span>Phrasing content</h5>
<p><dfn id=phrasing-content-0>Phrasing content</dfn> is the text of the document, as well
as elements that mark up that text at the intra-paragraph
level. Runs of <a href=#phrasing-content-0>phrasing content</a> form <a href=#paragraph title=paragraph>paragraphs</a>.</p>
- <p>All <a href=#phrasing-content-0>phrasing content</a> is also <a href=#flow-content-0>flow
- content</a>. Any content model that expects <a href=#flow-content-0>flow
- content</a> thus accepts <a href=#phrasing-content-0>phrasing content</a>.</p>
-
<p>As a general rule, elements whose content model allows any
<a href=#phrasing-content-0>phrasing content</a> should have either at least one
descendant text node that is not <a href=#inter-element-whitespace>inter-element
@@ -7132,11 +7127,6 @@
resource into the document, or content from another vocabulary that
is inserted into the document.</p>
- <p>All <a href=#embedded-content-1>embedded content</a> is also <a href=#phrasing-content-0>phrasing
- content</a> and <a href=#flow-content-0>flow content</a>. Any content model that
- expects <a href=#phrasing-content-0>phrasing content</a> or <a href=#flow-content-0>flow content</a>
- thus accepts <a href=#embedded-content-1>embedded content</a>.</p>
-
<p>Elements that are from namespaces other than the <a href=#html-namespace-0>HTML
namespace</a> and that convey content but not metadata, are
<a href=#embedded-content-1>embedded content</a> for the purposes of the content models
Modified: source
===================================================================
--- source 2008-12-27 10:57:23 UTC (rev 2593)
+++ source 2008-12-27 11:36:16 UTC (rev 2594)
@@ -7116,6 +7116,13 @@
<li><span>Interactive content</span></li>
</ul>
+ <p>These categories are related as follows:
+
+ <p><img src="images/content-venn.png" alt="Sectioning content,
+ heading content, phrasing content, and embedded content are all
+ types of flow content. Embedded content is also a type of phrasing
+ content."></p>
+
<p>In addition, certain elements are categorised as <span
title="form-associated element">form-associated elements</span> and
further subcategorised so so to define their role in various
@@ -7196,10 +7203,6 @@
title="footer">footers</span>, and <span title="address">contact
information</span>.</p>
- <p>All <span>sectioning content</span> is also <span>flow
- content</span>. Any content model that expects <span>flow
- content</span> thus accepts <span>sectioning content</span>.</p>
-
<p>Each <span>sectioning content</span> element potentially has a
heading and an <span>outline</span>. See the section on
<span>headings and sections</span> for further details.</p>
@@ -7216,11 +7219,7 @@
(whether explicitly marked up using <span>sectioning content</span>
elements, or implied by the heading content itself).</p>
- <p>All <span>heading content</span> is also <span>flow
- content</span>. Any content model that expects <span>flow
- content</span> thus accepts <span>sectioning content</span>.</p>
-
<h5>Phrasing content</h5>
<p><dfn>Phrasing content</dfn> is the text of the document, as well
@@ -7228,10 +7227,6 @@
level. Runs of <span>phrasing content</span> form <span
title="paragraph">paragraphs</span>.</p>
- <p>All <span>phrasing content</span> is also <span>flow
- content</span>. Any content model that expects <span>flow
- content</span> thus accepts <span>phrasing content</span>.</p>
-
<p>As a general rule, elements whose content model allows any
<span>phrasing content</span> should have either at least one
descendant text node that is not <span>inter-element
@@ -7255,11 +7250,6 @@
resource into the document, or content from another vocabulary that
is inserted into the document.</p>
- <p>All <span>embedded content</span> is also <span>phrasing
- content</span> and <span>flow content</span>. Any content model that
- expects <span>phrasing content</span> or <span>flow content</span>
- thus accepts <span>embedded content</span>.</p>
-
<p>Elements that are from namespaces other than the <span>HTML
namespace</span> and that convey content but not metadata, are
<span>embedded content</span> for the purposes of the content models
More information about the Commit-Watchers
mailing list