Repository navigation
merge_pr_65114
Allow anywhere inside with InputInSelect
Previously, this flag was created and tweaked to only allow
nested in when there was another tag in between the select and
the input, and/or when there were no option elements parsed yet when the
input was seen.
Based on WHATWG feedback, this approach as well as branching the parser
on an attribute on the select element is not good enough because it can
introduce mxss.
This patch makes the InputInSelect flag simply remove all logic that
makes the input tag close a select tag, which hopefully we can ship with
outreach to affected sites.
Bug: 396300371
Change-Id: I0f416100940cb1d4f706479e9d4a2a75ad44d703
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8719948
Reviewed-by: Mason Freed masonf@chromium.org
Reviewed-by: Joey Arhar jarhar@chromium.org
Commit-Queue: Joey Arhar jarhar@chromium.org
Cr-Commit-Position: refs/heads/main@{#1743162}