From d44a7c9aff2804c44cd4a83f9718fc7047357590 Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Wed, 20 Apr 2022 17:04:56 +0900 Subject: [PATCH] Fix build errors --- source | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) 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 {
Where heading content is expected.
Content model:
One 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.
Content attributes:
Global attributes
@@ -17092,13 +17091,14 @@ interface HTMLHeadingElement : HTMLElement {
Uses HTMLElement.
-

The hgroup element has no special meaning at all. It represents its children. - The element may be used to group a h1h6 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 h1h6 + 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:

    -
  1. Switch on heading:

    -
    h1
    +
    h1
    Return 1.
    - -
    h2
    + +
    h2
    Return 2.
    h3
    @@ -17504,12 +17503,12 @@ interface HTMLHeadingElement : HTMLElement {
    Return 6.
  2. -
-

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.