> or inputs? Could there be more than one pulled into the select?

Yes, in theory more than one could be pulled into a select with this
proposed parser change.

> on the other 471 pages was an input type=hidden, what will happen to that
name:value pair? Will it be lost? If so, the breakage might not be visible
until trying to submit.

The input would still be submitted in that case. I didn't realize this
until now, but apparently a little over half of the input elements which
are affected are indeed type=hidden, which is good.

> I am a bit sad that the quirks path was unhelpful. As you say, it is a
trivial fix, but someone needs to do it, and I suspect that the pages with
this error ("taking advantage of the parser to save on 7 letters") are in
the tail of pages that have less ongoing maintenance.

Yeah it seems like not enough of the sites are actually in quirks mode in
the first place, so using quirks mode wouldn't be helpful.

> What would our options be if we need sites to fix this before we can move
on? I doubt a console message will be helpful.

I could mark this as a deprecation instead of a regular console message
which would surface in tools like lighthouse, but I'm not sure that these
sites are looking at that stuff. I think that the email outreach I did was
probably the best. I'd also have to undo the deprecation when nesting input
in select becomes something that is encouraged as part of filterable select.

On Wed, Nov 25, 2026 at 8:55 AM Daniel Bratell <[email protected]> wrote:

> We discussed this in the API OWNERS meeting today and our focus or concern
> here is only about compatibility. The usage numbers is a bit higher than
> what we normally accept breakage for so we really want to understand what
> the risk is.
>
> You said that of 577 sites you looked at, only 106 showed a user-visible
> change. If we hypothesize that the input (or inputs? Could there be more
> than one pulled into the select?) on the other 471 pages was an input
> type=hidden, what will happen to that name:value pair? Will it be lost? If
> so, the breakage might not be visible until trying to submit.
>
> I am a bit sad that the quirks path was unhelpful. As you say, it is a
> trivial fix, but someone needs to do it, and I suspect that the pages with
> this error ("taking advantage of the parser to save on 7 letters") are in
> the tail of pages that have less ongoing maintenance.
>
> What would our options be if we need sites to fix this before we can move
> on? I doubt a console message will be helpful.
>
> Do you have any other information from your research that might be helpful?
>
> /Daniel
> On 2026-11-25 16:33, Joey Arhar wrote:
>
> New feedback has been posted on the webkit standards position:
> https://github.com/WebKit/standards-positions/issues/745#issuecomment-7154847082
>
> On Sun, Nov 22, 2026 at 2:25 PM Joey Arhar <[email protected]> wrote:
>
>> > I assume Ancestor and Parent are mutually exclusive since Ancestor has
>> a lower usage than Parent
>>
>> Yes, they are mutually exclusive. They combine to make about 0.008% of
>> page loads right now.
>>
>> > I assume it is also a very long tail?
>>
>> Of the ~0.004% (577 sites) of sites which hit one of the use counters in
>> http archive, only 106 actually demonstrated a user-visible change. I
>> reached out to the 50 of them I could find contact info for, and 3 have
>> updated their site so far.
>>
>> > What will be the user experience on one of these old sites with the
>> changed parser behaviour?
>>
>> Some of the page content gets pulled into the select element, so the
>> content that gets pulled in (such as the input element) are no longer
>> visible on the page.
>>
>> > What would the compatibility be if the old behaviour was left for
>> quirks mode? Would it change the number of affected sites materially?
>>
>> I was about to say that the HTML parser doesn't branch on quirks mode,
>> but turns out there actually is a thing already there for a case with table
>> tags closing open p tags. I'd hesitate to add a new quirk for this though.
>> It also looks like only 9 of the affected sites are actually in quirks mode.
>>
>> I'd also like to reiterate that this is a very easy fix to make (replace
>> <input> with </select><input>), and that there will be a console message
>> still there after this would be enabled to help people find it.
>>
>> > (Please also fill out the new Data Quality gate.)
>>
>> A lot of the things in there I'm not sure how to fill out - like I'm not
>> planning on doing a TAG review for this, but I don't know how to get the
>> data quality gate into a state where its happy with no TAG review.
>>
>> > I think it'd be a good idea to file official signals for this. Even
>> for Gecko -- I know Simon prefers this direction, but we've been asked not
>> to interpret individual engineers' takes as "official" signals.
>> > I think it's particularly important to gauge the likelihood of other
>> browser engines following this change because it'll affect whether there's
>> a good graceful-degradation story for filterable select in non-supporting
>> engines.
>>
>> Thanks, I filed official standards positions and put them in chromestatus:
>> - https://github.com/mozilla/standards-positions/issues/1490
>> - https://github.com/WebKit/standards-positions/issues/745
>>
>> On Wed, Nov 18, 2026 at 10:11 AM 'Dan Clark' via blink-dev <
>> [email protected]> wrote:
>>
>>> Would you expect the use counters to drop as a result of your outreach,
>>> or do they represent the post-outreach long tail of sites that will break?
>>>
>>> *> Gecko*: Positive (
>>> https://github.com/whatwg/html/issues/12050#issuecomment-6948503807)
>>> *> WebKit*: No signal
>>>
>>> I think it'd be a good idea to file official signals for this. Even for
>>> Gecko -- I know Simon prefers this direction, but we've been asked not to
>>> interpret individual engineers' takes as "official" signals.
>>> I think it's particularly important to gauge the likelihood of other
>>> browser engines following this change because it'll affect whether there's
>>> a good graceful-degradation story for filterable select in non-supporting
>>> engines.
>>>
>>> -- Dan
>>> On Wednesday, November 18, 2026 at 8:26:31 AM UTC-8 Chris Harrelson
>>> wrote:
>>>
>>>> (Please also fill out the new Data Quality gate.)
>>>>
>>>> On Wed, Nov 18, 2026 at 4:21 AM Daniel Bratell <[email protected]>
>>>> wrote:
>>>>
>>>>> This seems to be a tricky one. The usage is not zero (I assume
>>>>> Ancestor and Parent are mutually exclusive since Ancestor has a lower 
>>>>> usage
>>>>> than Parent), and HTML that takes advantage of this parser quirk is
>>>>> probably old and handwritten so it might not even be actively maintained. 
>>>>> I
>>>>> assume it is also a very long tail?
>>>>>
>>>>> What will be the user experience on one of these old sites with the
>>>>> changed parser behaviour?
>>>>>
>>>>> What would the compatibility be if the old behaviour was left for
>>>>> quirks mode? Would it change the number of affected sites materially?
>>>>>
>>>>> /Daniel
>>>>> On 2026-11-18 06:25, Joey Arhar wrote:
>>>>>
>>>>> *Contact emails*
>>>>> [email protected]
>>>>>
>>>>> *Explainer*
>>>>> *No information provided*
>>>>>
>>>>> *Specification*
>>>>> https://github.com/whatwg/html/pull/13243
>>>>>
>>>>> *Summary*
>>>>> The HTML parser currently has a behavior where parsing an input tag
>>>>> will close any open ancestor select tag, preventing input elements from
>>>>> being used inside select elements. This is blocking us from working on the
>>>>> filterable select feature, which needs support for nesting input elements
>>>>> inside select. Some sites have accidentally relied on this parser 
>>>>> behavior,
>>>>> so I have done outreach to migrate sites by adding the missing select end
>>>>> tag, which is a very simple fix. Existing usage can be seen in these two
>>>>> use counters:
>>>>> https://chromestatus.com/metrics/feature/timeline/popularity/5546
>>>>> https://chromestatus.com/metrics/feature/timeline/popularity/5547
>>>>>
>>>>> *Blink component*
>>>>> Blink>HTML>Parser
>>>>> <https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3EHTML%3EParser%22>
>>>>>
>>>>> *Web Feature ID*
>>>>> Missing feature
>>>>>
>>>>> *Motivation*
>>>>> After spending a fair amount of time considering alternatives like
>>>>> using an attribute on the select element or making the input and select
>>>>> elements be siblings, we decided that it would still be best to change the
>>>>> parser and allow nesting input in select.
>>>>>
>>>>> *Initial public proposal*
>>>>> *No information provided*
>>>>>
>>>>> *TAG review*
>>>>> No TAG review. This is a small change being worked on in WHATWG and is
>>>>> not a new feature.
>>>>>
>>>>> *TAG review status*
>>>>> Not applicable
>>>>>
>>>>> *Goals for experimentation*
>>>>> None
>>>>>
>>>>> *Risks*
>>>>>
>>>>>
>>>>> *Interoperability and Compatibility*
>>>>> Interop risk is low, the other browsers are supportive of following
>>>>> through with the parser changes after we demonstrate that it can be 
>>>>> shipped.
>>>>>
>>>>> *Gecko*: Positive (
>>>>> https://github.com/whatwg/html/issues/12050#issuecomment-6948503807)
>>>>>
>>>>> *WebKit*: No signal
>>>>>
>>>>> *Web developers*: No signals
>>>>>
>>>>> *Other signals*:
>>>>>
>>>>> *Ergonomics*
>>>>> This change will be used in tandem with filterable select when that
>>>>> ships. This change will not affect performance.
>>>>>
>>>>> *Activation*
>>>>> Developers don't need to be made aware of this change unless their
>>>>> site depends on the current parser behavior. I have already done outreach
>>>>> to the affected sites.
>>>>>
>>>>> *Security*
>>>>> In the long term this should reduce the risk of mXSS. In the short
>>>>> term there could be issues if browsers and servers disagree on which tags
>>>>> are allowed inside select elements. This should be the same situation as
>>>>> the prior select parser change I already shipped.
>>>>>
>>>>> *WebView application risks*
>>>>>
>>>>> Does this intent deprecate or change behavior of existing APIs, such
>>>>> that it has potentially high risk for Android WebView-based applications?
>>>>> This does not have a particularly high risk for android webview.
>>>>>
>>>>>
>>>>> *Debuggability*
>>>>> I added console messages for when an input is parsed inside a select
>>>>> element to let sites know that they are missing a select end tag. After
>>>>> shipping this change, I will leave a modified console message in this case
>>>>> for a while before shipping filterable select so that it will still be 
>>>>> easy
>>>>> for affected sites to find where they are missing a select end tag.
>>>>>
>>>>> *Will this feature be supported on all six Blink platforms (Windows,
>>>>> Mac, Linux, ChromeOS, Android, and Android WebView)?*
>>>>> Yes
>>>>>
>>>>> *Is this feature fully tested by web-platform-tests
>>>>> <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>?*
>>>>> Yes
>>>>>
>>>>> https://wpt.fyi/results/html/semantics/forms/the-select-element/customizable-select/select-input-parsing.tentative.html
>>>>>
>>>>> *Flag name on about://flags*
>>>>> *No information provided*
>>>>>
>>>>> *Finch feature name*
>>>>> InputInSelect
>>>>>
>>>>> *Rollout plan*
>>>>> Will ship enabled for all users
>>>>>
>>>>> *Requires code in //chrome?*
>>>>> False
>>>>>
>>>>> *Tracking bug*
>>>>> https://issues.chromium.org/issues/396300371
>>>>>
>>>>> *Estimated milestones*
>>>>>
>>>>> No milestones specified
>>>>>
>>>>>
>>>>> *Anticipated spec changes*
>>>>>
>>>>> Open questions about a feature may be a source of future web compat or
>>>>> interop issues. Please list open issues (e.g. links to known github issues
>>>>> in the project for the feature specification) whose resolution may
>>>>> introduce web compat/interop risk (e.g., changing to naming or structure 
>>>>> of
>>>>> the API in a non-backward-compatible way).
>>>>> *No information provided*
>>>>>
>>>>> *Link to entry on the Chrome Platform Status*
>>>>> https://chromestatus.com/feature/4828291285516288?gate=4692373253783552
>>>>>
>>>>> This intent message was generated by Chrome Platform Status
>>>>> <https://chromestatus.com/>.
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "blink-dev" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> To view this discussion visit
>>>>> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK6btw%2BXN%2Bkut82th3Jz%3D8YqXaV6Pii%3Dz%2B9%2BOOs7wZX9J0Ls3g%40mail.gmail.com
>>>>> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK6btw%2BXN%2Bkut82th3Jz%3D8YqXaV6Pii%3Dz%2B9%2BOOs7wZX9J0Ls3g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "blink-dev" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>>
>>>> To view this discussion visit
>>>>> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6a42496b-aa9f-4bd6-9dc2-53fd06509431%40gmail.com
>>>>> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6a42496b-aa9f-4bd6-9dc2-53fd06509431%40gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "blink-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion visit
>>> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/98a1a065-a9b7-432a-a7b8-a99b4ee1da29n%40chromium.org
>>> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/98a1a065-a9b7-432a-a7b8-a99b4ee1da29n%40chromium.org?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK6btwJKTHgA%2Bthi97pupjWQ_SQQmrENPDpagv2b87F9J%2BmM8w%40mail.gmail.com.

Reply via email to