diff --git a/source b/source index fcf22fb8d37..2ac393d66ee 100644 --- a/source +++ b/source @@ -2084,6 +2084,10 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

Applications and tools that process HTML and XML documents for reasons other than to either render the documents or check them for conformance should act in accordance with the semantics of the documents that they process.

+ +

A tool that generates document outlines but increases the nesting level for + each paragraph and does not increase the nesting level for headings would not be conforming.

@@ -11159,17 +11163,12 @@ console.assert(image.height === 200);
  • section
  • -

    Each sectioning content element potentially has a heading and an - outline. See the section on headings and sections for further - details.

    - -

    There are also certain elements that are sectioning - roots. These are distinct from sectioning content.

    +

    See the section on headings and sections for further details.

    Heading content
    -

    Heading content defines the header of a section (whether explicitly marked +

    Heading content defines the heading of a section (whether explicitly marked up using sectioning content elements, or implied by the heading content itself).

    @@ -16248,7 +16247,7 @@ console.log(style.disabled); // false
    Categories:
    -
    Sectioning root.
    +
    None.
    Contexts in which this element can be used:
    As the second element in an html element.
    Content model:
    @@ -17127,7 +17126,7 @@ interface HTMLHeadingElement : HTMLElement {
    Global attributes
    Accessibility considerations:
    -
    If the nearest ancestor sectioning content or sectioning root +
    If the nearest ancestor sectioning content element is the body element: for authors; for implementers.
    @@ -17181,8 +17180,7 @@ interface HTMLHeadingElement : HTMLElement {

    In this example, the page has a page heading given by the h1 element, and two subsections whose headings are given by h2 elements. The content after the header element is still part of the last subsection started in the - header element, because the header element doesn't take part in the - outline algorithm.

    + header element.

    <body>
      <header>
    @@ -17223,7 +17221,7 @@ interface HTMLHeadingElement : HTMLElement {
        
    Global attributes
    Accessibility considerations:
    -
    If the nearest ancestor sectioning content or sectioning root +
    If the nearest ancestor sectioning content element is the body element: for authors; for implementers.
    @@ -17235,7 +17233,7 @@ interface HTMLHeadingElement : HTMLElement {

    The footer element represents a footer for its nearest ancestor - sectioning content or sectioning root element. A footer typically + sectioning content element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like.

    @@ -17253,7 +17251,7 @@ interface HTMLHeadingElement : HTMLElement {

    Footers don't necessarily have to appear at the end of a section, though they usually do.

    -

    When the nearest ancestor sectioning content or sectioning root +

    When the nearest ancestor sectioning content element is the body element, then it applies to the whole page.

    The footer element is not sectioning content; it doesn't @@ -17794,7 +17792,7 @@ interface HTMLHeadingElement : HTMLElement { h1h6 - A section heading + A heading

    <h1>The Guide To Music On The Playa</h1>
     <h2>The Main Stage</h2>
    @@ -17808,19 +17806,19 @@ interface HTMLHeadingElement : HTMLElement {
         
          
    <hgroup>
      <h1>Burning Music</h1>
    - <h2>The Guide To Music On The Playa</h2>
    + <p>The Guide To Music On The Playa</p>
     </hgroup>
     <section>
      <hgroup>
       <h1>Main Stage</h1>
    -  <h2>The Fiction Of A Music Festival</h2>
    +  <p>The Fiction Of A Music Festival</p>
      </hgroup>
      <p>If you want to play on a stage, you should bring one.</p>
     </section>
     <section>
      <hgroup>
       <h1>Loudness!</h1>
    -  <h2>Questions About Amplified Music</h2>
    +  <p>Questions About Amplified Music</p>
      </hgroup>
      <p>Amplifiers up to 300W or 90dB are welcome.</p>
     </section>
    @@ -18129,10 +18127,6 @@ of Gralmond's winters.</p>
    -

    The hr element does not affect the document's - outline.

    - -

    The pre element

    @@ -18257,7 +18251,6 @@ a friend lost to the
    Categories:
    Flow content.
    -
    Sectioning root.
    Palpable content.
    Contexts in which this element can be used:
    Where flow content is expected.
    @@ -19316,7 +19309,6 @@ first matching case):</p>
    Categories:
    Flow content.
    -
    Sectioning root.
    Palpable content.
    Contexts in which this element can be used:
    Where flow content is expected.
    @@ -41293,7 +41285,6 @@ interface HTMLTableRowElement : HTMLElement {
    Categories:
    -
    Sectioning root.
    Contexts in which this element can be used:
    As a child of a tr element.
    Content model:
    @@ -52975,7 +52966,6 @@ out of 233 257 824 bytes available</meter></p>
    Categories:
    Flow content.
    -
    Sectioning root.
    Listed and autocapitalize-inheriting form-associated element.
    Palpable content.
    Contexts in which this element can be used:
    @@ -57719,7 +57709,6 @@ dictionary FormDataEventInit : EventInit {
    Categories:
    Flow content.
    -
    Sectioning root.
    Interactive content.
    Palpable content.
    Contexts in which this element can be used:
    @@ -58246,7 +58235,6 @@ interface HTMLDetailsElement : HTMLElement {
    Categories:
    Flow content.
    -
    Sectioning root.
    Contexts in which this element can be used:
    Where flow content is expected.
    Content model:
    @@ -121896,7 +121884,6 @@ interface External { blockquote A section quoted from another source flow; - sectioning root; palpable flow flow @@ -121908,7 +121895,7 @@ interface External { body Document body - sectioning root + none html flow globals; @@ -122095,7 +122082,6 @@ interface External { details Disclosure control for hiding details flow; - sectioning root; interactive; palpable flow @@ -122121,8 +122107,7 @@ interface External { dialog Dialog box or window - flow; - sectioning root + flow; flow flow globals; @@ -122202,7 +122187,6 @@ interface External { fieldset Group of form controls flow; - sectioning root; listed; form-associated; palpable @@ -122230,7 +122214,6 @@ interface External { figure Figure with optional caption flow; - sectioning root; palpable flow figcaption*; @@ -122272,7 +122255,7 @@ interface External { h1, h2, h3, h4, h5, h6 - Section heading + Heading flow; heading; palpable @@ -122307,9 +122290,8 @@ interface External { hgroup - heading group + Generic Heading container flow; - heading; palpable legend; @@ -123119,7 +123101,7 @@ interface External { td Table cell - sectioning root + none tr flow globals; @@ -123606,19 +123588,6 @@ interface External { input (if the type attribute is not in the Hidden state); video (if the controls attribute is present) - - Sectioning roots - - blockquote; - body; - details; - dialog; - fieldset; - figure; - td - - — - Form-associated elements