[Webkit-unassigned] [Bug 279595] New: Password autofill not available in Safari when using a web component with Shadow DOM and form association

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 12 06:16:24 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=279595

            Bug ID: 279595
           Summary: Password autofill not available in Safari when using a
                    web component with Shadow DOM and form association
           Product: WebKit
           Version: Safari 17
          Hardware: Mac (Apple Silicon)
                OS: macOS 14
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tino.prahl at otto.de
                CC: cdumez at apple.com, wenson_hsieh at apple.com

Created attachment 472536

  --> https://bugs.webkit.org/attachment.cgi?id=472536&action=review

Example html

When using a web component with Shadow DOM and form association in a form, Safari's password autofill feature does not function as expected.

This issue occurs when the form contains input fields for email and password, followed directly by a custom web component with form association.

A workaround for this issue is to add an <input type="hidden"> element between the input fields and the custom web component.

Use the attached example code to reproduce this behavior.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240912/79c035e6/attachment.htm>


More information about the webkit-unassigned mailing list