diff --git a/source b/source index 9e11deef691..75aa22b73b5 100644 --- a/source +++ b/source @@ -19333,6 +19333,7 @@ and is further discussed below.</div>
Flow content.
Contexts in which this element can be used:
Where flow content is expected.
+
As a child of a select element.
Content model:
Nothing.
Content attributes:
@@ -19354,8 +19355,9 @@ interface HTMLHRElement : HTMLElement {

The hr element represents a paragraph-level thematic - break, e.g. a scene change in a story, or a transition to another topic within a section of a - reference book.

+ break, e.g., a scene change in a story, or a transition to another topic within a section of a + reference book; alternatively, it represents a separator between a set of options of a + select element.

@@ -52219,7 +52221,7 @@ interface HTMLButtonElement : HTMLElement {
Contexts in which this element can be used:
Where phrasing content is expected.
Content model:
-
Zero or more option, optgroup, and script-supporting elements.
+
Zero or more option, optgroup, hr, and script-supporting elements.
Content attributes:
Global attributes
autocomplete
@@ -52773,6 +52775,19 @@ interface HTMLSelectElement : HTMLElement {
+
+

Occasionally it can be useful to have a separator: + +

<label>
+ Select the song to play next:
+ <select required name="next">
+  <option value="sr">Random
+  <hr>
+  <option value="s1">It Sucks to Be Me (Reprise)
+  <option value="s2">There is Life Outside Your Apartment
+  …
+
+

The datalist element

@@ -112692,10 +112707,11 @@ dictionary StorageEventInit : EventInit { below can handle the non-