Bug 194700 - Address autofill does not conform the standard
Summary: Address autofill does not conform the standard
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari 12
Hardware: Unspecified All
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-02-15 02:43 PST by Eiji Kitamura
Modified: 2019-02-18 09:02 PST (History)
4 users (show)

See Also:


Attachments
Comparison with Chrome (436.89 KB, image/png)
2019-02-15 02:43 PST, Eiji Kitamura
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eiji Kitamura 2019-02-15 02:43:58 PST
Created attachment 362106 [details]
Comparison with Chrome

TL;DR `input[autocomplete="street-address"]`, `input[autocomplete="address-line1"]` and `input[autocomplete="address-line2"]` does not conform the standard.

1. Go to http://autocomplete-experiment.glitch.me/
2. Use Safari's autofill feature to fill in address fields

What I expect to get:
- `input[autocomplete="street-address"]` to contain concatenated string of address-line1 and address-line2
- `input[autocomplete="address-line1"]` to contain address-line1
- `input[autocomplete="address-line2"]` to contain address-line2

What I actually get:
- `input[autocomplete="street-address"]` to contain address-line1
- `input[autocomplete="address-line1"]` to contain address-line2
- `input[autocomplete="address-line2"]` to be empty

See "street-address", "address-line1" and "address-line2" in the spec
[https://w3c.github.io/html/sec-forms.html#autofilling-form-controls-the-autocomplete-attribute](https://w3c.github.io/html/sec-forms.html#autofilling-form-controls-the-autocomplete-attribute)
Comment 1 Radar WebKit Bug Importer 2019-02-18 09:02:51 PST
<rdar://problem/48165736>