diff --git a/source b/source index 42bad96967f..06dd8ff0922 100644 --- a/source +++ b/source @@ -2084,8 +2084,8 @@ 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 + +
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.
@@ -17066,7 +17066,6 @@ interface HTMLHeadingElement : HTMLElement {Authors might prefer the former style for its terseness, or the latter style for its convenience in the face of heavy editing; which is best is purely an issue of preferred authoring style.
- @@ -17080,7 +17079,7 @@ interface HTMLHeadingElement : HTMLElement {h1
, h2
, h3
, h4
,
- h5
, h6
element, optionally with one or more p
elements,
+ h5
, h6
element, optionally with one or more p
elements,
optionally intermixed with script-supporting elements.HTMLElement
.The hgroup
element has no special meaning at all. It represents its children.
- The element may be used to group a h1
–h6
element, for styling purposes,
- with one or more p
elements containing text representing its subheading, alternative title, or tagline.
The hgroup
element represents its children. It otherwise has no
+ special meaning at all. The element may be used to group h1
–h6
+ elements, for styling purposes, with one or more p
elements containing text
+ representing its subheading, alternative title, or tagline.
Here are some examples of valid headings contained within a hgroup
element.
Here are some examples of valid headings contained within an hgroup
element.
<hgroup>
<h1>The reality dysfunction</h1>
@@ -17475,20 +17475,19 @@ interface HTMLHeadingElement : HTMLElement {
Headings and sections
- Heading content elements have a heading level, which is
- an unsigned integer. It is determined as follows for a given heading content element
+
Heading content elements have a heading level, which is an unsigned
+ integer. It is determined as follows for a given heading content element
heading:
-
-
Switch on heading:
- h1
+ h1
- Return 1.
-
- h2
+
+ h2
- Return 2.
h3
@@ -17504,12 +17503,12 @@ interface HTMLHeadingElement : HTMLElement {
- Return 6.
-
- A heading content element represents a heading.
- The lower a heading's heading level is, the more important
- the heading is.
+ A heading content element represents a heading. The lower a heading's heading level is, the more important the
+ heading is.
The document headings are all headings in a
document, in tree order.