- From: poot <cvsmail@w3.org>
- Date: Wed, 15 Jul 2009 18:06:23 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Drop the 'applies to section' concept. (whatwg r3417) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2546&r2=1.2547&f=h http://html5.org/tools/web-apps-tracker?from=3416&to=3417 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2546 retrieving revision 1.2547 diff -u -d -r1.2546 -r1.2547 --- Overview.html 15 Jul 2009 08:51:56 -0000 1.2546 +++ Overview.html 15 Jul 2009 09:05:59 -0000 1.2547 @@ -10509,11 +10509,7 @@ even when <a href="#concept-n-script" title="concept-n-script">scripting is enabled</a> for the element.</p> - </div><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>.<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> + </div><h3 id="sections"><span class="secno">4.4 </span>Sections</h3><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> <dd><a href="#sectioning-root">Sectioning root</a>.</dd> <dt>Contexts in which this element may be used:</dt> <dd>As the second element in an <code><a href="#the-html-element">html</a></code> element.</dd> @@ -10784,11 +10780,8 @@ independent part of a document, page, or site. This could be a forum post, a magazine or newspaper article, a Web log entry, a user-submitted comment, or any other independent item of - content.<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>When <code><a href="#the-article-element">article</a></code> elements are nested, the inner + content.<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>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 instance, a Web log entry on a site that accepts user-submitted @@ -11036,12 +11029,11 @@ <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>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>Footers don't necessarily have to appear at the end of a section, + 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 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>Footers don't necessarily have to appear at the end of a section, though they usually do.<p>The <code><a href="#the-footer-element">footer</a></code> element is inappropriate for containing entire sections. For appendices, indexes, long colophons, verbose license agreements, and other such content which needs sectioning @@ -11083,7 +11075,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.<div class="example"> <p>For example, a page at the W3C Web site related to HTML might @@ -39136,8 +39128,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> @@ -39964,8 +39956,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 @@ -40171,7 +40163,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> @@ -47370,7 +47363,9 @@ used with <code><a href="#the-link-element">link</a></code>, <code><a href="#the-a-element">a</a></code>, and <code><a href="#the-area-element">area</a></code> elements. For <code><a href="#the-link-element">link</a></code> elements, it creates a <a href="#hyperlink-link" title="hyperlink link">hyperlink</a>.<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>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 + 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>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 for the page as a whole.<p class="note">The "referenced document" can be, and often is, a <code title="">mailto:</code> URL giving the e-mail address of the @@ -47422,8 +47417,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">
Received on Wednesday, 15 July 2009 09:07:01 UTC