Latest Results
fix(html/parser): preserve customizable select markup (#12413)
**Description:**
Preserve customizable select markup and rich option content during HTML
parsing and minification. Previously, the parser reported `<button>`,
`<selectedcontent>`, and phrasing elements inside `<option>` as stray
tags and dropped them.
- Process general select content with the in-body rules while retaining
select-specific handling for options, optgroups, input, and table
contexts.
- Add parser, fragment, and minifier regression fixtures. Keep modern
expectations for affected pinned html5lib cases in local overrides.
- Add the required Rust changeset.
Validation: `cargo test -p swc_html_parser`, `cargo test -p
swc_html_minifier`, `cargo fmt --all`, and `cargo clippy --all
--all-targets -- -D warnings` all passed locally.
**Related issue (if exists):**
Closes #12403 Latest Branches
0%
BleedingDev:fix/react-compiler-stacker -3%
refactor/parser-contexts-and-construction 0%
BleedingDev:fix/react-compiler-fast-check-gate © 2026 CodSpeed Technology