We already have a parser of autocomplete attribute; autofill::FormStructure::ParseFieldTypesFromAutocompleteAttributes
I wonder if Blink can reuse it to implement the correct autocomplete IDL attribute.
This is a great step forward but it would be much better to only support values that the browser does anything meaningful with in order to support feature detection, like Firefox does. Many values like 'sex', 'impp', etc. aren't supported.
If no implementations support a value it could also be considered for removal from HTML.
Comment 1 by tkent@chromium.org
, Aug 23 2017