3 ms·
There are more than 20 different valid field name tokens in the spec, not just “on” and “off”[1]. If web developers actually used the other values correctly the
by mnoorenberghe 7y ago
There are more than 20 different valid field name tokens in the spec, not just “on” and “off”[1]. If web developers actually used the other values correctly then user agents wouldn’t need to use heuristics to figure out the correct data to autofill.
[1] https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#inappropriate-for-the-control https://html.spec.whatwg.org/multipage/form-control-infrastr...