-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1908453 [wpt PR 47179] - Relax <select> parser rules, a=testonly
Automatic update from web-platform-tests Relax <select> parser rules This patch makes <select> allow tags besides <option>, <optgroup>, and <hr>. Previously this was only allowed within a child <button> or <datalist> tag inside <select>, but based on the feedback in whatwg we should try to allow this content everywhere: whatwg/html#10310 This behavior is guarded behind a flag. Since I am planning on shipping parser changes for <select> before appearance:base-select, I am creating a new flag for parser changes instead of reusing the existing StylableSelect flag for appearance:base-select. The new flag is intended to not only make the parser change, but also update the algorithms which associate option/optgroup/hr elements with select elements to account for the newly parsed elements. If everything goes well, then we will need to change these WPTs which this patch effectively marks as failing: html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html html/semantics/forms/the-select-element/select-value.html html/syntax/parsing/ Bug: 1511354 Change-Id: I441f9645a592ac63764fef928e4e5acf3fdec5db Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5518837 Commit-Queue: Joey Arhar <[email protected]> Reviewed-by: David Baron <[email protected]> Cr-Commit-Position: refs/heads/main@{#1329137} -- wpt-commits: 8e71820a49e67752c5f9ef6fad7a52753b004b5a wpt-pr: 47179
- Loading branch information
1 parent
bf8bae7
commit e2b33e8
Showing
3 changed files
with
57 additions
and
48 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...g/web-platform/tests/html/semantics/forms/the-optgroup-element/optgroup-removal.window.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters