@@ -19364,6 +19364,7 @@ and is further discussed below.</div>
19364
19364
Flow content .
19365
19365
Contexts in which this element can be used :
19366
19366
Where flow content is expected.
19367
+
As a child of a select
element.
19367
19368
Content model :
19368
19369
Nothing .
19369
19370
Content attributes :
@@ -19385,8 +19386,9 @@ interface HTMLHRElement : HTMLElement {
19385
19386
19386
19387
19387
19388
The hr
element represents a paragraph -level thematic
19388
- break, e.g. a scene change in a story, or a transition to another topic within a section of a
19389
- reference book.
19389
+ break, e.g., a scene change in a story, or a transition to another topic within a section of a
19390
+ reference book; alternatively, it represents a separator between a set of options of a
19391
+ select
element.
19390
19392
19391
19393
19392
19394
@@ -52319,7 +52321,7 @@ interface HTMLButtonElement : HTMLElement {
52319
52321
Contexts in which this element can be used :
52320
52322
Where phrasing content is expected.
52321
52323
Content model :
52322
-
Zero or more option
, optgroup
, and script-supporting elements.
52324
+
Zero or more option
, optgroup
, hr
, and script-supporting elements.
52323
52325
Content attributes :
52324
52326
Global attributes
52325
52327
autocomplete
@@ -52873,6 +52875,19 @@ interface HTMLSelectElement : HTMLElement {
52873
52875
52874
52876
52875
52877
52878
+
52879
+ Occasionally it can be useful to have a separator:
52880
+
52881
+
52882
+ Select the song to play next:
52883
+ <select required name="next">
52884
+ <option value="sr">Random
52885
+ <hr>
52886
+ <option value="s1">It Sucks to Be Me (Reprise)
52887
+ <option value="s2">There is Life Outside Your Apartment
52888
+ …
52889
+
52890
+
52876
52891
52877
52892
52878
52893
The datalist
element
@@ -112874,10 +112889,11 @@ dictionary StorageEventInit : EventInit {
112874
112889
below can handle the non- case if we ever allow it) -->
112875
112890
An optgroup
element's end tag may be omitted
112876
112891
if the optgroup
element is
112877
- immediately followed by another optgroup
element, or if there is no more content in
112880
- the parent element.
112892
+ immediately followed by another optgroup
element, if it is immediately followed by an
112893
+ hr
element, or if there is no more content in the parent
112896
+ element.
112881
112897
112890
112906
An option
element's end tag may be omitted if
112891
- the option
element is immediately followed by another option
element, or
112892
- if it is immediately followed by an optgroup
element, or if there is no more content
112893
- in the parent element.
112907
+ the option
element is immediately followed by another option
element, if
112908
+ it is immediately followed by an optgroup
element, if it is immediately followed by
112909
+ an hr
element, or if there is no more content in the parent element.
112894
112910
112895
112911
112896
112912
A colgroup
element's start tag may be
@@ -121080,6 +121096,25 @@ document.body.appendChild(text);
121080
121096
Insert an HTML element for the token.
121081
121097
121082
121098
121099
+
A start tag whose tag name is "hr"
121100
+
121101
+
121102
+ If the current node is an option
element, pop that node from the
121103
+ stack of open elements .
121104
+
121105
+
121106
+
121107
+ If the current node is an optgroup
element, pop that node from the
121108
+ stack of open elements .
121109
+
121110
+
121111
+ Insert an HTML element for the token. Immediately pop the current
121112
+ node off the stack of open elements .
121113
+
121114
+ Acknowledge the token's
121115
+ flag">self-closing flag, if it is set.
121116
+
121117
+
121083
121118
An end tag whose tag name is "optgroup"
121084
121119
121085
121120
@@ -125976,6 +126011,9 @@ progress { appearance: auto; }
125976
126011
data-x="concept-option-label">label, indented under its optgroup
element if it
125977
126012
has one.
125978
126013
126014
+ Each sequence of one or more child hr
element siblings may be rendered as a single
126015
+ separator.
126016
+
125979
126017
The width of the select
's labels is the wider of the width necessary to
125980
126018
render the widest optgroup
, and the width necessary to render the widest
125981
126019
option
element in the element's list of
@@ -134187,16 +134225,16 @@ INSERT INTERFACES HERE
134187
134225
Dean Edridge,
134188
134226
Dean Edwards,
134189
134227
Dean Jackson,
134190
- Debanjana Sarkar ,
134228
+ Debanjana Sarkar,
134191
134229
Debi Orton,
134192
- Delan Azabani,
134230
+ Delan Azabani,
134193
134231
Derek Featherstone,
134194
134232
Derek Guenther,
134195
134233
Devarshi Pant,
134196
134234
Devdatta,
134197
134235
Devin Rousso,
134198
134236
Diego Ferreiro Val,
134199
- Diego González Zúñiga ,
134237
+ Diego González Zúñiga,
134200
134238
Diego Ponce de León,
134201
134239
Dimitri Glazkov,
134202
134240
Dimitry Golubovsky,
@@ -134240,6 +134278,7 @@ INSERT INTERFACES HERE
134240
134278
Eric Portis,
134241
134279
Eric Rescorla,
134242
134280
Eric Semling,
134281
+ Eric Shepherd,
134243
134282
Eric Willigers,
134244
134283
Erik Arvidsson,
134245
134284
Erik Charlebois,
0 commit comments