[wpt-sync] Sync PR 50690 - Enable InputClosesSelect by default
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50690 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50690
Details from upstream follow.
Joey Arhar <jarhar@chromium.org> wrote:
Enable InputClosesSelect by default
Sites are clearly relying on the behavior which makes \<input> add a
\</select> tag when used inside a \<select>. In order to de-risk
the shipping of SelectParserRelaxation, I am enabling InputClosesSelect
for now. We can consider supporting \<input> inside \<select> later if
authors show they really want it.Fixed: 379612186
Change-Id: Ib65cc575338c683cbecb8348cd279efa040dd1c9Reviewed-on: https://chromium-review.googlesource.com/6257633
WPT-Export-Revision: f5468deb642a2dfbc91912fa7f4b426d6cf15863
Assignee | ||
Updated•11 days ago
|
Assignee | ||
Comment 1•11 days ago
|
||
Assignee | ||
Comment 2•10 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 15 subtests
Status Summary
Firefox
OK
: 1
PASS
: 8
FAIL
: 7
Chrome
OK
: 1
PASS
: 12
FAIL
: 3
Safari
OK
: 1
PASS
: 8
FAIL
: 7
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/forms/the-select-element/customizable-select/select-parsing.tentative.html [wpt.fyi]
- <div>s, <button>s, and <datalist>s should be allowed in <select>:
FAIL
(Chrome:PASS
, Safari:FAIL
) - </select> should close <button>:
FAIL
(Chrome:PASS
, Safari:FAIL
) - </select> should close <datalist>:
FAIL
(Chrome:PASS
, Safari:FAIL
) - <select> in <button> in <select> should remove inner <select>:
FAIL
(Chrome:PASS
, Safari:FAIL
) - <select> in <select><button><div> should remove inner <select>:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Divs and imgs should be allowed as direct children of select and within options without a datalist:
FAIL
(Chrome:PASS
, Safari:FAIL
) - textarea tags should parse inside select instead of closing the select:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- <div>s, <button>s, and <datalist>s should be allowed in <select>:
Description
•