NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 90 - Introduce the concept of 'sectioning root', of which we have four: <blockquote>, <td>, <datagrid>, <figure>; stop <blockquote> from being a sectioning element
Introduce the concept of 'sectioning root', of which we have four: <blockquot...
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-03 13:08 CET by Nobody
Modified: 2008-03-06 12:21 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody 2008-03-03 13:08:15 CET
Index: source
===================================================================
--- source	(revision 1254)
+++ source	(revision 1255)
@@ -6787,57 +6787,6 @@
   nested <code>article</code> elements.</p>
 
 
-  <h4>The <dfn><code>blockquote</code></dfn> element</h4>
-
-  <dl class="element">
-   <dt>Categories</dt>
-   <dd><span>Prose content</span>.</dd>
-   <dd><span>Sectioning content</span>.</dd>
-   <dt>Contexts in which this element may be used:</dt>
-   <dd>Where <span>prose content</span> is expected.</dd>
-   <dt>Content model:</dt>
-   <dd><span>Prose content</span>.</dd>
-   <dt>Element-specific attributes:</dt>
-   <dd><code title="attr-blockquote-cite">cite</code></dd>
-   <dt>DOM interface:</dt>
-   <dd>
-<pre class="idl">interface <dfn>HTMLQuoteElement</dfn> : <span>HTMLElement</span> {
-           attribute DOMString <span title="dom-quote-cite">cite</span>;
-};</pre>
-    <p class="note">The <code>HTMLQuoteElement</code> interface is
-    also used by the <code>q</code> element.</p>
-   </dd>
-  </dl>
-
-  <p>The <code>blockquote</code> element represents a section that is
-  quoted from another source.</p>
-
-  <p>Content inside a <code>blockquote</code> must be quoted from
-  another source, whose URI, if it has one, should be cited in the
-  <dfn title="attr-blockquote-cite"><code>cite</code></dfn>
-  attribute.</p>
-
-  <p>If the <code title="attr-blockquote-cite">cite</code> attribute
-  is present, it must be a URI (or IRI). User agents should allow
-  users to follow such citation links.</p>
-
-  <p>If a <code>blockquote</code> element is <span>preceded or
-  followed</span> by a single <span>paragraph</span> that contains a
-  single <code>cite</code> element and that is itself not
-  <span>preceded or followed</span> by another <code>blockquote</code>
-  element and does not itself have a <code>q</code> element
-  descendant, then, the title of the work given by that
-  <code>cite</code> element gives the source of the quotation
-  contained in the <code>blockquote</code> element.</p>
-
-  <p>The <dfn title="dom-quote-cite"><code>cite</code></dfn> DOM
-  attribute <code>reflects</code> the element's <code
-  title="">cite</code> content attribte.
-
-  <p class="note">The best way to represent a conversation is not with
-  the <code>cite</code> and <code>blockquote</code> elements, but with
-  the <code>dialog</code> element.</p>
-
 
   <h4>The <dfn><code>aside</code></dfn> element</h4>
 
@@ -7144,17 +7093,18 @@
   start new (implied) sections, headers of lower <span>rank</span>
   start subsections that are part of the previous one.</p>
 
-  <p><span>Sectioning content</span> elements other than
-  <code>blockquote</code> are always considered subsections of their
-  nearest ancestor element of <span>sectioning content</span>,
-  regardless of what implied sections other headings may have created.
-  However, <code>blockquote</code> elements <em>are</em> associated
-  with implied sections. Effectively, <code>blockquote</code> elements
-  act like sections on the inside, and act opaquely on the
-  outside.</p>
+  <p><span>Sectioning content</span> elements are always considered
+  subsections of their nearest ancestor element of <span>sectioning
+  content</span>, regardless of what implied sections other headings
+  may have created.</p>
+
+  <p>Certain elements are said to be <dfn title="sectioning
+  root">sectioning roots</dfn>, including <code>blockquote</code> and
+  <code>td</code> elements. These elements can have their own
+  outlines, but the sections and headers inside these elements do not
+  contribute to the outlines of their ancestors.</p>
 
   <div class="example">
-
    <p>For the following fragment:</p>
    <pre>&lt;body&gt;
  &lt;h1&gt;Foo&lt;/h1&gt;
@@ -7172,16 +7122,10 @@
    <p>...the structure would be:</p>
    <ol>
     <li>
-     Foo (heading of explicit <code>body</code> section)
+     Foo (heading of explicit <code>body</code> section, containing the "Grunt" paragraph)
      <ol>
       <li>
-       Bar (heading starting implied section)
-       <ol>
-        <li>
-         Bla (heading of explicit <code>blockquote</code> section)
-        </li>
-       </ol>
-       Baz (paragraph)
+       Bar (heading starting implied section, containing a block quote and the "Baz" paragraph)
       </li>
       <li>
        Quux (heading starting implied section)
@@ -7190,13 +7134,11 @@
        Thud (heading of explicit <code>section</code> section)
       </li>
      </ol>
-     Grunt (paragraph)
     </li>
    </ol>
-   <p>Notice how the <code>blockquote</code> nests inside an implicit
-   section while the <code>section</code> does not (and in fact, ends
-   the earlier implicit section so that a later paragraph is back at
-   the top level).</p>
+   <p>Notice how the <code>section</code> ends the earlier implicit
+   section so that a later paragraph ("Grunt") is back at the top
+   level.</p>
   </div>
 
   <p>Sections may contain headers of any <span>rank</span>, but
@@ -7829,6 +7771,59 @@
   to cite or quote.</p>
 
 
+  <h4>The <dfn><code>blockquote</code></dfn> element</h4>
+
+  <dl class="element">
+   <dt>Categories</dt>
+   <dd><span>Prose content</span>.</dd>
+   <dd><span>Sectioning root</span>.</dd>
+   <dt>Contexts in which this element may be used:</dt>
+   <dd>Where <span>prose content</span> is expected.</dd>
+   <dt>Content model:</dt>
+   <dd><span>Prose content</span>.</dd>
+   <dt>Element-specific attributes:</dt>
+   <dd><code title="attr-blockquote-cite">cite</code></dd>
+   <dt>DOM interface:</dt>
+   <dd>
+<pre class="idl">interface <dfn>HTMLQuoteElement</dfn> : <span>HTMLElement</span> {
+           attribute DOMString <span title="dom-quote-cite">cite</span>;
+};</pre>
+    <p class="note">The <code>HTMLQuoteElement</code> interface is
+    also used by the <code>q</code> element.</p>
+   </dd>
+  </dl>
+
+  <p>The <code>blockquote</code> element represents a section that is
+  quoted from another source.</p>
+
+  <p>Content inside a <code>blockquote</code> must be quoted from
+  another source, whose URI, if it has one, should be cited in the
+  <dfn title="attr-blockquote-cite"><code>cite</code></dfn>
+  attribute.</p>
+
+  <p>If the <code title="attr-blockquote-cite">cite</code> attribute
+  is present, it must be a URI (or IRI). User agents should allow
+  users to follow such citation links.</p>
+
+  <p>If a <code>blockquote</code> element is <span>preceded or
+  followed</span> by a single <span>paragraph</span> that contains a
+  single <code>cite</code> element and that is itself not
+  <span>preceded or followed</span> by another <code>blockquote</code>
+  element and does not itself have a <code>q</code> element
+  descendant, then, the title of the work given by that
+  <code>cite</code> element gives the source of the quotation
+  contained in the <code>blockquote</code> element.</p>
+
+  <p>The <dfn title="dom-quote-cite"><code>cite</code></dfn> DOM
+  attribute <code>reflects</code> the element's <code
+  title="">cite</code> content attribte.
+
+  <p class="note">The best way to represent a conversation is not with
+  the <code>cite</code> and <code>blockquote</code> elements, but with
+  the <code>dialog</code> element.</p>
+
+
+
   <h3>Preformatted text</h3>
 
   <h4>The <dfn><code>pre</code></dfn> element</h4>
@@ -10566,6 +10561,7 @@
   <dl class="element">
    <dt>Categories</dt>
    <dd><span>Prose content</span>.</dd>
+   <dd><span>Sectioning root</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>Where <span>prose content</span> is expected.</dd>
    <dt>Content model:</dt>
@@ -17401,7 +17397,7 @@
 
   <dl class="element">
    <dt>Categories</dt>
-   <dd>None.</dd>
+   <dd><span>Sectioning root</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>As a child of a <code>tr</code> element.</dd>
    <dt>Content model:</dt>
@@ -19301,6 +19297,7 @@
    <dt>Categories</dt>
    <dd><span>Prose element</span>.</dd>
    <dd><span>Interactive element</span>.</dd>
+   <dd><span>Sectioning root</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>Where <span>prose content</span> is expected.</dd>
    <dt>Content model:</dt>
Comment 1 Henri Sivonen 2008-03-06 12:21:39 CET
Can't see an actionable change.