- From: Igor Minar <iminar@google.com>
- Date: Wed, 03 Dec 2014 20:26:29 +0000
- To: Evan Stade <estade@chromium.org>
- Cc: WHAT Working Group Mailing List <whatwg@whatwg.org>
Just to follow up on this for archival purposes... In Chrome M40 (possible even sooner) the proper input and change events are triggered for both form and password autofill. Good job guys! Safari 7 and 8 are still broken. In FF 34 the form autofill works well but password autofill doesn't fire any events. Things are still pretty broken for many end users but we've already made major progress. Yay! \i On Fri Nov 14 2014 at 8:12:33 AM Igor Minar <iminar@google.com> wrote: > I believe so, but I'll double check and will email you off this thread. > > \i > > > On Thu Nov 13 2014 at 11:06:37 PM Evan Stade <estade@chromium.org> wrote: > >> That sounds like crbug.com/354257 which was fixed in March. Are you sure >> this is still a problem on newer versions of Chrome? >> >> On Thu, Nov 13, 2014 at 8:22 PM, Igor Minar <iminar@google.com> wrote: >> >>> Are you going to properly fire change&input events when autofill happens? >>> >>> The current autofill behavior is causing major headaches for application >>> and framework developers and by ignoring autocomplete attribute you disable >>> the only way developers can work around this bug. >>> >>> On angular we had to developer a special hack in an attempt to fix it, >>> but it's far from ideal: https://github.com/angular/angular.js/issues/ >>> 1460#issuecomment-33837127 >>> >>> The browser should let DOM know when autofill happens, so apps can treat >>> user input and autofill as the same. Right now this is not the case and it >>> sounds like you are going to make it only worse. >>> >>> \i >>> >>> >>> >>> On Thu Nov 13 2014 at 11:20:28 AM Evan Stade <estade@chromium.org> >>> wrote: >>> >>>> Hi, >>>> >>>> Chrome already ignores the prevalent autocomplete="off" for password >>>> fields. We plan to ignore this tag for Autofill (addresses, credit >>>> cards) >>>> fields as well. autocomplete="off" will still be respected for >>>> autocomplete >>>> data (e.g. past searches on crbug.com). >>>> >>>> We think this will break a very small number of sites that use >>>> autocomplete="off" for legitimate reasons, e.g. they use the Google Maps >>>> Places Autocomplete API, and don't want Chrome trying to autofill in >>>> addition. But it will improve behavior for a much larger set of sites >>>> which >>>> use autocomplete="off" for confused reasons as a part of, e.g., their >>>> checkout flow. We have found the prevalence of autocomplete="off" in top >>>> sites' checkout forms to be quite high. >>>> >>>> Currently this new behavior is available behind a flag. We will soon be >>>> inverting the flag, so you have to opt into respecting >>>> autocomplete="off". >>>> >>>> I am curious what other browsers do around autocomplete="off", and if >>>> they >>>> respect it for address/user profile/credit card type data. Since >>>> there's no >>>> way to feature detect the browser's behavior, it would be convenient if >>>> all >>>> browsers agreed on the meaning/value of the attribute. >>>> >>>> -- Evan Stade >>>> >>> >>
Received on Wednesday, 3 December 2014 20:26:55 UTC