Open Bug 1728812 Opened 4 years ago Updated 4 years ago

Handle field autofilled highlight when user filled value matches the default value of a field

Categories

(Toolkit :: Form Autofill, defect, P3)

defect

Tracking

()

People

(Reporter: tgiles, Unassigned)

References

Details

As part of Bug 1687684, form autofill will overwrite a site's prefilled value when selecting an autocomplete option for credit card or address. In most cases, the autofilled highlight works as expected with this new behavior. However, there is one particular case that stands out.

If you clear the site prefilled field and end up re-entering the default value for that field (say you accidentally cleared your cc number or something), then we will overwrite (effectively not changing the value since the current value is the same as the default value) the value and add the autofilled highlight to the field. This is divergent behavior for a field that has been interacted with, since normally a user interacted field will not be eligible for autofill. I'm not sure what the expected behavior is in this case, but it's something worth noting.

Adding S4 since this is cosmetic.

Severity: -- → S4
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.