Implement new <select> HTML parser rules
Categories
(Core :: DOM: HTML Parser, enhancement)
Tracking
()
People
(Reporter: jarhar, Unassigned)
References
(Blocks 2 open bugs)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Steps to reproduce:
Parse <select><div><option>
Actual results:
<div> is not included in resulting DOM
Expected results:
<div> should be included in resulting DOM
We are updating the HTML parser rules for <select> here: We are changing the HTML parser for <select> here: https://github.com/whatwg/html/pull/10557
Comment 1•11 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•10 months ago
|
Updated•10 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Comment 3•2 days ago
|
||
Customisable select will significantly alter the parser with respect to select elements; by removing the "in select" and "in select in table" parser mode, but adding parse error modes to many elements (besides <option>
, <optgroup>
, and <hr>
) if they are a descendant of a <select>
element.
Description
•