From b9c5dee3f015d7f9276e7e35d4b6022993c93e64 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Tue, 2 May 2023 16:19:45 +0200 Subject: [PATCH] Allow
to be used inside case if we ever allow it) -->

An optgroup element's end tag may be omitted if the optgroup element is - immediately followed by another optgroup element, or if there is no more content in - the parent element.

+ immediately followed by another optgroup element, if it is immediately followed by an + hr element, or if there is no more content in the parent + element.

An option element's end tag may be omitted if - the option element is immediately followed by another option element, or - if it is immediately followed by an optgroup element, or if there is no more content - in the parent element.

+ the option element is immediately followed by another option element, if + it is immediately followed by an optgroup element, if it is immediately followed by + an hr element, or if there is no more content in the parent element.

A colgroup element's start tag may be @@ -121080,6 +121096,25 @@ document.body.appendChild(text);

Insert an HTML element for the token.

+
A start tag whose tag name is "hr"
+
+ +

If the current node is an option element, pop that node from the + stack of open elements.

+ + + +

If the current node is an optgroup element, pop that node from the + stack of open elements.

+ + +

Insert an HTML element for the token. Immediately pop the current + node off the stack of open elements.

+ +

Acknowledge the token's self-closing flag, if it is set.

+
+
An end tag whose tag name is "optgroup"
@@ -125976,6 +126011,9 @@ progress { appearance: auto; } data-x="concept-option-label">label, indented under its optgroup element if it has one.

+

Each sequence of one or more child hr element siblings may be rendered as a single + separator.

+

The width of the select's labels is the wider of the width necessary to render the widest optgroup, and the width necessary to render the widest option element in the element's list of @@ -134187,16 +134225,16 @@ INSERT INTERFACES HERE Dean Edridge, Dean Edwards, Dean Jackson, - Debanjana Sarkar , + Debanjana Sarkar, Debi Orton, - Delan Azabani, + Delan Azabani, Derek Featherstone, Derek Guenther, Devarshi Pant, Devdatta, Devin Rousso, Diego Ferreiro Val, - Diego González Zúñiga , + Diego González Zúñiga, Diego Ponce de León, Dimitri Glazkov, Dimitry Golubovsky, @@ -134240,6 +134278,7 @@ INSERT INTERFACES HERE Eric Portis, Eric Rescorla, Eric Semling, + Eric Shepherd, Eric Willigers, Erik Arvidsson, Erik Charlebois,