Open Bug 1986953 Opened 1 month ago Updated 1 month ago

Autocomplete is not triggered for elements in the shadow DOM

Categories

(Core :: DOM: Core & HTML, enhancement)

Firefox 142
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: Stephen.Rios, Unassigned)

References

Details

Steps to reproduce:

  1. Create a web component with a shadow root. You can create one from scratch, or use a framework like Lit
  2. Put an input element in the shadowRoot with a valid autocomplete attribute such as given-name for first name.
  3. Attempt to trigger the autofill/autocomplete in a browser

Actual results:

Autofill/autocomplete is not triggered for elements in the shadow DOM.

Expected results:

Autofill/autocomplete should fully support input elements within shadow DOMs, including scenarios involving multiple nested input elements. Detection and filling should function across shadow DOM boundaries to enable complete form autofill when each input is encapsulated within its own shadow root.

See Also: → 1644302

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.