From 7592bbf056c15e4c2d4e1690e989c11fd765aa57 Mon Sep 17 00:00:00 2001 From: Matt Garrish Date: Thu, 5 Oct 2023 11:00:17 -0400 Subject: [PATCH] inline definition of sectioning root elements --- index.html | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index 3eea633..c8b858f 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,6 @@ previousMaturity: "PR", implementationReportURI: "https://www.w3.org/publishing/groups/publ-wg/implementation/results.html", crEnd: "2020-03-31", - updateableRec: true, edDraftURI: "https://w3c.github.io/pub-manifest/", errata: "https://w3c.github.io/pub-manifest/errata/", editors:[ { @@ -72,7 +71,7 @@ publications, serialized in [[json-ld11]], to enable interoperability between publishing formats while accommodating variances in the information that needs to be expressed.

-
+

Introduction

@@ -4688,11 +4687,11 @@

HTML Structure

A small set of elements are ignored when the parsing table of contents to avoid misinterpretation. These are the [[!html]] sectioning - content elements and sectioning - root elements. The reason they are ignored is because they can define their own - outlines (i.e., they can represent embedded content that is self-contained and not - necessarily related to the structure of content links).

+ content elements and what were previously defined as sectioning root + elements — the [[html]] [^blockquote^], [^body^], [^details^], [^dialog^], + [^fieldset^], [^figure^], and [^td^] elements. The reason they are ignored is because they + can define their own outlines (i.e., they can represent embedded content that is + self-contained and not necessarily related to the structure of content links).

Any element that has its hidden attribute set is also skipped, since hidden elements are @@ -5012,9 +5011,9 @@

User Agent Processing

Explanation

This step resets current_toc_node back to the parent object after all of its child branches have been processed.

-

If there are no branches in the stack, the toc["entries"] is set to null - if it doesn't contain any items (to avoid processing any further lists at the - root level).

+

If there are no branches in the stack, the toc["entries"] is set to + null if it doesn't contain any items (to avoid processing any further lists at + the root level).

@@ -5213,9 +5212,8 @@

User Agent Processing

When entering a sectioning content element, a sectioning root element, or an element with a sectioning content element, a [=sectioning root=] element, or an + element with a hidden attribute: