08:17
<sideshowbarker>
div is now allowed as a descendant of select?
08:17
<sideshowbarker>
https://html.spec.whatwg.org/multipage/dom.html#select-element-inner-content-elements-2
08:18
<sideshowbarker>

The following are select element inner content elements:
* option
* optgroup
* hr
* script-supporting elements
* noscript
* div

08:20
<sideshowbarker>
Do current parsers actually support that?
08:20
<sideshowbarker>
The Gecko/validator.nu parser doesn’t seem to
08:23
<sideshowbarker>

trying the HTML checker with this:

<!doctype html><html lang=en><meta charset=utf-8>
<title>select with hr and div children</title>
<select id="theme-select">
  <option value="light">Light</option>
  <option value="dark">Dark</option>
  <hr>
  <div class="group-label">Custom themes</div>
  <option value="solarized">Solarized</option>
  <option value="dracula">Dracula</option>
</select>

I get parse-error messages:

:7.3-7.27: error: Stray start tag “div”.
:7.3-7.40: error: Text not allowed in element “select” in this context.
:7.41-7.46: error: Stray end tag “div”.

08:25
<sideshowbarker>

hmm yeah also in Firefox — the DOM looks like this:

<select id="theme-select">
  <option value="light">Light</option>
  <option value="dark">Dark</option>
  <hr>
  Custom themes
  <option value="solarized">Solarized</option>
  <option value="dracula">Dracula</option>
</select>
08:26
<sideshowbarker>
hmm yeah same DOM in Safari — no div in the DOM
08:27
<annevk>
sideshowbarker: that's a very recent change; I think Chrome might have shipped it. I did implement these aspects in WebKit, but nothing shipped as-of-yet.
08:27
<sideshowbarker>
ah OK
08:28
<sideshowbarker>
so I guess I may need to implement in the vnu HTML parser — or wait til Henri or somebody does
08:28
<sideshowbarker>
Do you know if there’s an open gecko bug for it?
08:29
<annevk>
sideshowbarker: https://bugzilla.mozilla.org/show_bug.cgi?id=1933591
09:47
<julienw>
incidentaly I've seen dl/dt/dd got similar changes too, but I haven't checked if that was implemented
09:58
<annevk>
I think those were just conformance changes. The parser wasn't changed for those elements.
13:07
<Dominic Farolino>
annevk & smaug are we OK marking Menu Elements (https://github.com/whatwg/html/issues/11729) as stage 1? This was raised a few WHATNOTs ago
13:28
<annevk>
Dominic Farolino: okay from our side.
14:05
<smaug>
that is ok