- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 16 Mar 2010 01:46:35 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv9094 Modified Files: semantics.html spec.html Log Message: Clarify that sectioning roots also set the context for sectioning content. (whatwg r4847) [updated by splitter] Index: semantics.html =================================================================== RCS file: /sources/public/html5/spec/semantics.html,v retrieving revision 1.880 retrieving revision 1.881 diff -u -d -r1.880 -r1.881 --- semantics.html 12 Mar 2010 23:56:31 -0000 1.880 +++ semantics.html 16 Mar 2010 01:46:33 -0000 1.881 @@ -3632,10 +3632,7 @@ <a href="#rank">rank</a> start new (implied) sections, headings of lower <a href="#rank">rank</a> start implied subsections that are part of the previous one. In both cases, the element <a href="the-xhtml-syntax.html#represents">represents</a> the - heading of the implied section.</p><p><a href="dom.html#sectioning-content">Sectioning content</a> elements are always considered - subsections of their nearest ancestor element of <a href="dom.html#sectioning-content">sectioning - content</a>, regardless of what implied sections other headings - may have created.</p><p>Certain elements are said to be <dfn id="sectioning-root" title="sectioning + heading of the implied section.</p><p>Certain elements are said to be <dfn id="sectioning-root" title="sectioning root">sectioning roots</dfn>, including <code><a href="#the-blockquote-element">blockquote</a></code> and <code><a href="tabular-data.html#the-td-element">td</a></code> elements. These elements can have their own outlines, but the sections and headings inside these elements do not @@ -3646,7 +3643,14 @@ <li><code><a href="forms.html#the-fieldset-element">fieldset</a></code></li> <li><code><a href="#the-figure-element">figure</a></code></li> <li><code><a href="tabular-data.html#the-td-element">td</a></code></li> - </ul><div class="example"> + </ul><!-- a root element isn't a sectioning root. This means, for + instance, that you don't get an outline if you just have a random + XML file with <html:h1> elements in it. Other vocabs need to define + what their sectioning root is. --><p><a href="dom.html#sectioning-content">Sectioning content</a> elements are always considered + subsections of their nearest ancestor <a href="#sectioning-root">sectioning root</a> + or their nearest ancestor element of <a href="dom.html#sectioning-content">sectioning + content</a>, whichever is nearest, regardless of what implied + sections other headings may have created.</p><div class="example"> <p>For the following fragment:</p> <pre><body> <h1>Foo</h1> @@ -3668,7 +3672,7 @@ Bar (heading starting implied section, containing a block quote and the "Baz" paragraph) </li> <li> - Quux (heading starting implied section) + Quux (heading starting implied section with no content other than the heading itself) </li> <li> Thud (heading of explicit <code><a href="#the-section-element">section</a></code> section) Index: spec.html =================================================================== RCS file: /sources/public/html5/spec/spec.html,v retrieving revision 1.886 retrieving revision 1.887 diff -u -d -r1.886 -r1.887 --- spec.html 13 Mar 2010 00:46:53 -0000 1.886 +++ spec.html 16 Mar 2010 01:46:33 -0000 1.887 @@ -307,7 +307,7 @@ </dl><p>This specification is available in the following formats: <a href="Overview.html">single page HTML</a>, <a href="spec.html">multipage HTML</a>. -This is revision 1.3882. +This is revision 1.3883. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2010 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Tuesday, 16 March 2010 01:46:37 UTC