[html5] r3417 - [t] (0) Drop the 'applies to section' concept.
whatwg at whatwg.org
whatwg at whatwg.org
Wed Jul 15 02:05:55 PDT 2009
Author: ianh
Date: 2009-07-15 02:05:54 -0700 (Wed, 15 Jul 2009)
New Revision: 3417
Modified:
index
source
Log:
[t] (0) Drop the 'applies to section' concept.
Modified: index
===================================================================
--- index 2009-07-15 08:51:50 UTC (rev 3416)
+++ index 2009-07-15 09:05:54 UTC (rev 3417)
@@ -11870,13 +11870,6 @@
<h3 id=sections><span class=secno>4.4 </span>Sections</h3>
- <p id=applyToSection>Some elements, for example
- <code><a href=#the-address-element>address</a></code> elements, are scoped to their nearest ancestor
- <a href=#sectioning-content-0>sectioning content</a>. For such elements <var title="">x</var>, the elements that apply to a <a href=#sectioning-content-0>sectioning
- content</a> element <var title="">e</var> are all the <var title="">x</var> elements whose nearest <a href=#sectioning-content-0>sectioning
- content</a> ancestor is <var title="">e</var>.</p>
-
-
<h4 id=the-body-element><span class=secno>4.4.1 </span>The <dfn><code>body</code></dfn> element</h4>
<dl class=element><dt>Categories</dt>
@@ -12190,13 +12183,10 @@
post, a magazine or newspaper article, a Web log entry, a
user-submitted comment, or any other independent item of
content.</p>
+
+ <p>An <code><a href=#the-article-element>article</a></code> element is "independent" in the sense
+ that its contents could stand alone, for example in syndication.</p>
- <p class=note>An <code><a href=#the-article-element>article</a></code> element is "independent" in
- that its contents could stand alone, for example in syndication.
- However, the element is still associated with its ancestors; for
- instance, contact information that <a href=#applyToSection>applies</a> to a parent <code><a href=#the-body-element>body</a></code>
- element still covers the <code><a href=#the-article-element>article</a></code> as well.</p>
-
<p>When <code><a href=#the-article-element>article</a></code> elements are nested, the inner
<code><a href=#the-article-element>article</a></code> elements represent articles that are in
principle related to the contents of the outer article. For
@@ -12510,14 +12500,13 @@
<dt>DOM interface:</dt>
<dd>Uses <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
</dl><p>The <code><a href=#the-footer-element>footer</a></code> element <a href=#represents>represents</a> a footer
- for the section it <a href=#applyToSection>applies</a> to. A
- footer typically contains information about its section such as who
- wrote it, links to related documents, copyright data, and the
- like.</p>
+ for its nearest ancestor <a href=#sectioning-content-0>sectioning content</a>. A footer
+ typically contains information about its section such as who wrote
+ it, links to related documents, copyright data, and the like.</p>
- <p>Contact information for the section to which the
- <code><a href=#the-footer-element>footer</a></code> element <a href=#applyToSection>applies</a>
- should be marked up using the <code><a href=#the-address-element>address</a></code> element.</p>
+ <p class=note>Contact information belongs in an
+ <code><a href=#the-address-element>address</a></code> element, possibly itself inside a
+ <code><a href=#the-footer-element>footer</a></code>.</p>
<p>Footers don't necessarily have to appear at the end of a section,
though they usually do.</p>
@@ -12570,7 +12559,7 @@
<dd>Uses <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
</dl><p>The <code><a href=#the-address-element>address</a></code> element <a href=#represents>represents</a> the
contact information for its nearest <code><a href=#the-article-element>article</a></code> or
- <code><a href=#the-body-element>body</a></code> element ancestor. IF that is <a href=#the-body-element-0>the body
+ <code><a href=#the-body-element>body</a></code> element ancestor. If that is <a href=#the-body-element-0>the body
element</a>, then the contact information applies to the document
as a whole.</p>
@@ -43766,8 +43755,8 @@
<li>
<p>If the element is, or is a descendant of, an
- <code><a href=#the-address-element>address</a></code> element that <a href=#applyToSection>applies</a> to <a href=#the-body-element-0>the
- <code>body</code> element</a>, and the <a href=#concept-item title=concept-item>item</a> has the type <code title=md-vcard><a href=#md-vcard>vcard</a></code>, generate the following
+ <code><a href=#the-address-element>address</a></code> element that has no <code><a href=#the-article-element>article</a></code>
+ element ancestors, and the <a href=#concept-item title=concept-item>item</a> has the type <code title=md-vcard><a href=#md-vcard>vcard</a></code>, generate the following
triple:</p>
<dl class=triple><dt>subject <dd> <a href="#the-document's-current-address">the document's current address</a>
@@ -44594,8 +44583,8 @@
<li>
<p>For each element <var title="">candidate</var> that is, or is a
- descendant of, an <code><a href=#the-address-element>address</a></code> element that <a href=#applyToSection>applies</a> to <a href=#the-body-element-0>the <code>body</code>
- element</a>, and that is an <a href=#concept-item title=concept-item>item</a> that has the type <code title=md-vcard><a href=#md-vcard>vcard</a></code>, if there is a property <var title="">property</var> named <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code>
+ descendant of, an <code><a href=#the-address-element>address</a></code> element that has no
+ <code><a href=#the-article-element>article</a></code> element ancestors, and that is an <a href=#concept-item title=concept-item>item</a> that has the type <code title=md-vcard><a href=#md-vcard>vcard</a></code>, if there is a property <var title="">property</var> named <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code>
whose <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding
item</a> is <var title="">candidate</var>, and the <a href=#concept-property-value title=concept-property-value>value</a> of <var title="">property</var> is not an <a href=#concept-item title=concept-item>item</a>, then append an <code title="">author</code> element in the <a href=#atom-namespace>Atom namespace</a>
to the root element of <var title="">R</var> whose contents is a
@@ -44801,7 +44790,8 @@
<li>
<p>For each element <var title="">candidate</var> that is, or is
- a descendant of, an <code><a href=#the-address-element>address</a></code> element that <a href=#applyToSection>applies</a> to <var title="">article</var>, and that is an <a href=#concept-item title=concept-item>item</a> that has the type <code title=md-vcard><a href=#md-vcard>vcard</a></code>, if there is a property <var title="">property</var> named <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code> whose <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding item</a> is
+ a descendant of, an <code><a href=#the-address-element>address</a></code> element whose nearest
+ <code><a href=#the-article-element>article</a></code> element ancestor is <var title="">article</var>, and that is an <a href=#concept-item title=concept-item>item</a> that has the type <code title=md-vcard><a href=#md-vcard>vcard</a></code>, if there is a property <var title="">property</var> named <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code> whose <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding item</a> is
<var title="">candidate</var>, and the <a href=#concept-property-value title=concept-property-value>value</a> of <var title="">property</var> is not an <a href=#concept-item title=concept-item>item</a>, then append an <code title="">author</code> element in the <a href=#atom-namespace>Atom
namespace</a> to <var title="">E</var> whose contents is a
text node with its data set to the <a href=#concept-property-value title=concept-property-value>value</a> of <var title="">property</var>.</p>
@@ -52616,7 +52606,9 @@
<p>For <code><a href=#the-a-element>a</a></code> and <code><a href=#the-area-element>area</a></code> elements, the <code title=rel-author><a href=#link-type-author>author</a></code> keyword indicates that the
referenced document provides further information about the author of
- the section that the element defining the hyperlink <a href=#applyToSection>applies</a> to.</p>
+ the nearest <code><a href=#the-article-element>article</a></code> element ancestor of the element
+ defining the hyperlink, if there is one, or of the page as a whole,
+ otherwise.</p>
<p>For <code><a href=#the-link-element>link</a></code> elements, the <code title=rel-author><a href=#link-type-author>author</a></code> keyword indicates that the
referenced document provides further information about the author
@@ -52685,8 +52677,9 @@
<p>For <code>a</code> and <code>area</code> elements, the <code
title="rel-contact">contact</code> keyword indicates that the
referenced document provides further contact information for the
- section that the element defining the hyperlink <a
- href="#applyToSection">applies</a> to.</p>
+ author of the nearest <code>article</code> element ancestor of the
+ element defining the hyperlink, if there is one, or of the page as a
+ whole, otherwise.</p>
<div class="impl">
Modified: source
===================================================================
--- source 2009-07-15 08:51:50 UTC (rev 3416)
+++ source 2009-07-15 09:05:54 UTC (rev 3417)
@@ -12582,15 +12582,6 @@
<h3>Sections</h3>
- <p id="applyToSection">Some elements, for example
- <code>address</code> elements, are scoped to their nearest ancestor
- <span>sectioning content</span>. For such elements <var
- title="">x</var>, the elements that apply to a <span>sectioning
- content</span> element <var title="">e</var> are all the <var
- title="">x</var> elements whose nearest <span>sectioning
- content</span> ancestor is <var title="">e</var>.</p>
-
-
<h4>The <dfn><code>body</code></dfn> element</h4>
<dl class="element">
@@ -12923,14 +12914,10 @@
post, a magazine or newspaper article, a Web log entry, a
user-submitted comment, or any other independent item of
content.</p>
+
+ <p>An <code>article</code> element is "independent" in the sense
+ that its contents could stand alone, for example in syndication.</p>
- <p class="note">An <code>article</code> element is "independent" in
- that its contents could stand alone, for example in syndication.
- However, the element is still associated with its ancestors; for
- instance, contact information that <a
- href="#applyToSection">applies</a> to a parent <code>body</code>
- element still covers the <code>article</code> as well.</p>
-
<p>When <code>article</code> elements are nested, the inner
<code>article</code> elements represent articles that are in
principle related to the contents of the outer article. For
@@ -13263,14 +13250,13 @@
</dl>
<p>The <code>footer</code> element <span>represents</span> a footer
- for the section it <a href="#applyToSection">applies</a> to. A
- footer typically contains information about its section such as who
- wrote it, links to related documents, copyright data, and the
- like.</p>
+ for its nearest ancestor <span>sectioning content</span>. A footer
+ typically contains information about its section such as who wrote
+ it, links to related documents, copyright data, and the like.</p>
- <p>Contact information for the section to which the
- <code>footer</code> element <a href="#applyToSection">applies</a>
- should be marked up using the <code>address</code> element.</p>
+ <p class="note">Contact information belongs in an
+ <code>address</code> element, possibly itself inside a
+ <code>footer</code>.</p>
<p>Footers don't necessarily have to appear at the end of a section,
though they usually do.</p>
@@ -13326,7 +13312,7 @@
<p>The <code>address</code> element <span>represents</span> the
contact information for its nearest <code>article</code> or
- <code>body</code> element ancestor. IF that is <span>the body
+ <code>body</code> element ancestor. If that is <span>the body
element</span>, then the contact information applies to the document
as a whole.</p>
@@ -49445,9 +49431,8 @@
<li>
<p>If the element is, or is a descendant of, an
- <code>address</code> element that <a
- href="#applyToSection">applies</a> to <span>the
- <code>body</code> element</span>, and the <span
+ <code>address</code> element that has no <code>article</code>
+ element ancestors, and the <span
title="concept-item">item</span> has the type <code
title="md-vcard">vcard</code>, generate the following
triple:</p>
@@ -50633,9 +50618,8 @@
<li>
<p>For each element <var title="">candidate</var> that is, or is a
- descendant of, an <code>address</code> element that <a
- href="#applyToSection">applies</a> to <span>the <code>body</code>
- element</span>, and that is an <span
+ descendant of, an <code>address</code> element that has no
+ <code>article</code> element ancestors, and that is an <span
title="concept-item">item</span> that has the type <code
title="md-vcard">vcard</code>, if there is a property <var
title="">property</var> named <code title="md-vcard-fn">fn</code>
@@ -50883,8 +50867,8 @@
<li>
<p>For each element <var title="">candidate</var> that is, or is
- a descendant of, an <code>address</code> element that <a
- href="#applyToSection">applies</a> to <var
+ a descendant of, an <code>address</code> element whose nearest
+ <code>article</code> element ancestor is <var
title="">article</var>, and that is an <span
title="concept-item">item</span> that has the type <code
title="md-vcard">vcard</code>, if there is a property <var
@@ -61645,8 +61629,9 @@
<p>For <code>a</code> and <code>area</code> elements, the <code
title="rel-author">author</code> keyword indicates that the
referenced document provides further information about the author of
- the section that the element defining the hyperlink <a
- href="#applyToSection">applies</a> to.</p>
+ the nearest <code>article</code> element ancestor of the element
+ defining the hyperlink, if there is one, or of the page as a whole,
+ otherwise.</p>
<p>For <code>link</code> elements, the <code
title="rel-author">author</code> keyword indicates that the
@@ -61718,8 +61703,9 @@
<p>For <code>a</code> and <code>area</code> elements, the <code
title="rel-contact">contact</code> keyword indicates that the
referenced document provides further contact information for the
- section that the element defining the hyperlink <a
- href="#applyToSection">applies</a> to.</p>
+ author of the nearest <code>article</code> element ancestor of the
+ element defining the hyperlink, if there is one, or of the page as a
+ whole, otherwise.</p>
<div class="impl">
More information about the Commit-Watchers
mailing list