v134 · dom

Flagged country picker

Before the select parser relaxation, <span> tags inside <option> elements were silently stripped by the HTML parser — only bare text survived. Chrome 134's relaxed parser keeps the spans, making rich option content possible in customizable selects.

Select parser relaxation: checking…
Live country picker spans inside options preserved in Chrome 134+
No country selected
Legacy parser (Chrome <134)
Loading…
Relaxed parser (Chrome 134+)
Loading…
<!-- Markup: spans inside options carry flag + name data -->
<select name="country">
  <option value="us">
    <span class="flag">🇺🇸</span>
    <span class="name">United States</span>
  </option>
  <option value="jp">
    <span class="flag">🇯🇵</span>
    <span class="name">Japan</span>
  </option>
  <!-- ... -->
</select>

<!-- Legacy parser: spans stripped → option text is empty
     Relaxed parser: spans kept → option text is "🇺🇸 United States"
     Customizable select: spans become styled UI elements -->

see also

references