Skip to content

Commit 5a5d342

Browse files
josepharharlutien
authored andcommitted
Bug 1966239 [wpt PR 52511] - Make <input> close <option> and <optgroup>,
Automatic update from web-platform-tests Make <input> close <option> and <optgroup> Based on feedback in the <select> parser relaxation HTML spec PR, we might want to close the <select> on these tags when parsing an <input>: whatwg/html#10557 (comment) If the UseCounter shows that usage is low enough, then we could remove this behavior. Bug: 402429384 Change-Id: Id8809d40162c7fd06a446e146d65aaf6258d2e5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6506819 Reviewed-by: Mason Freed <[email protected]> Commit-Queue: Joey Arhar <[email protected]> Cr-Commit-Position: refs/heads/main@{#1459707} -- wpt-commits: 6c98531aeb946b53b33f623f429115fe324ccc24 wpt-pr: 52511 Differential Revision: https://phabricator.services.mozilla.com/D250159
1 parent e2b8051 commit 5a5d342

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

testing/web-platform/tests/html/semantics/forms/the-select-element/customizable-select/select-parsing.tentative.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,14 @@
104104
</div>
105105
</select>
106106

107+
<select class=test
108+
data-description='Input tags should close select when directly inside an <option>'
109+
data-expect='<option></option>'>
110+
<option>
111+
<input>
112+
</option>
113+
</select>
114+
107115
<div id=afterlast>
108116
keep this div after the last test case
109117
</div>

0 commit comments

Comments
 (0)