Skip to content

Commit

Permalink
Replace "last" by "next" in expectation (#2027)
Browse files Browse the repository at this point in the history
When adding `webauthn` as 5th item, we kept the "**last** token" in the 3rd item. But this actually refers to the 4th item and should therefore be "next".
  • Loading branch information
Jym77 committed Feb 23, 2023
1 parent be5b2c4 commit 9bad856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _rules/autocomplete-valid-value-73f2c2.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Each test target's `autocomplete` [attribute value][] is a [space separated][] l

1. An optional token that starts with "section-"; then
2. An optional token of either "shipping" or "billing"; then
3. An optional token of either "home", "work", "mobile", "fax" or "pager", only if the last token is "email", "impp", "tel" or "tel-\*"; then
3. An optional token of either "home", "work", "mobile", "fax" or "pager", only if the next token is "email", "impp", "tel" or "tel-\*"; then
4. A required token from the [correct autocomplete field][]; then
5. An optional "webauthn" token.

Expand Down

0 comments on commit 9bad856

Please sign in to comment.