Bug 172567

Summary: Autofill doesn't work in form inputs that are in a shadow root
Product: WebKit Reporter: Taylor Savage <webkit>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cdumez, jberlin, rmondello, rniwa, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 148695    

Description Taylor Savage 2017-05-24 17:57:11 PDT
Autofill for form input fields such as credit card fields, email addresses, etc. doesn't appear to work for form inputs that are inside shadow roots.

Reproduction:

1) Go to polymer-shop2.appspot.com
2) Tap on "men's outerwear"
3) Tap on "Men's tech shell full-zip"
4) Tap on "Add to cart"
5) Tap on the cart icon on the upper right
6) Tap on "Checkout"
7) Tap in the "Email" field

Expected:
The autofill selector should appear to enable you to autofill from a contact.

Result:
No autofill appears supported.

This is also the case for other fields I'd expect to autofill, like "Card Number"
Comment 1 Radar WebKit Bug Importer 2017-05-24 21:02:28 PDT
<rdar://problem/32394943>