Bug 1864395 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Per my understanding, bug 1688607 added the behavior that fills each 4-digit value to the corresponding boxes:

```html
<!DOCTYPE html>
<meta charset="utf-8">
<input type="number" autocomplete="cc-number"> <!-- This gets the first 4 digits -->
<input type="number" autocomplete="cc-number"> <!-- This gets the second 4 digits -->
<input type="number" autocomplete="cc-number"> <!-- This gets the third 4 digits -->
<input type="number" autocomplete="cc-number"> <!-- This gets the last 4 digits -->
```

But AFAICT the HTML spec doesn't describe such behavior, and neither of Safari and Chrome does it. If this is the webpage behavior in the wild, we should add the spec to get better interop (so that other webpages can start using cc-number the same way).
Per my understanding, bug 1688607 added the behavior that fills each 4-digit value to the corresponding boxes:

```html
<!DOCTYPE html>
<meta charset="utf-8">
<input type="number" autocomplete="cc-number"> <!-- This gets the first 4 digits -->
<input type="number" autocomplete="cc-number"> <!-- This gets the second 4 digits -->
<input type="number" autocomplete="cc-number"> <!-- This gets the third 4 digits -->
<input type="number" autocomplete="cc-number"> <!-- This gets the last 4 digits -->
```

But AFAICT the HTML spec doesn't describe such behavior, and neither of Safari and Chrome does it. If this is the webpage expectation in the wild, we should add the spec to get better interop (so that other webpages can start using cc-number the same way).
Per my understanding, bug 1688607 added the behavior that fills each 4-digit value to the corresponding boxes:

```html
<!DOCTYPE html>
<meta charset="utf-8">
<input autocomplete="cc-number"> <!-- This gets the first 4 digits -->
<input autocomplete="cc-number"> <!-- This gets the second 4 digits -->
<input autocomplete="cc-number"> <!-- This gets the third 4 digits -->
<input autocomplete="cc-number"> <!-- This gets the last 4 digits -->
```

But AFAICT the HTML spec doesn't describe such behavior, and neither of Safari and Chrome does it. If this is the webpage expectation in the wild, we should add the spec to get better interop (so that other webpages can start using cc-number the same way).

Back to Bug 1864395 Comment 0