|
|
|
|
|
by Frizi
2347 days ago
|
|
From your description, it sounds like they decided to use a "number" typed field for the post codes. This is of course incorrect, post codes are really just strings. While the bug manifests itself on firefox, it is hard to blame it for implementing the field according to spec [1]. Chrome decided to ignore the spec and leave the field more free-form, which in turn enables developers to use it incorrectly without detecting the compatibility bug. [1]: https://www.w3.org/TR/html52/sec-forms.html#number-state-typ... > User agents must not allow the user to set the value to a non-empty string that is not a valid floating-point number. If the user agent provides a user interface for selecting a number, then the value must be set to the best representation of the number representing the user’s selection as a floating-point number. |
|
If Chrome is your only target, the standard ceases to mean anything. The real standard is just whatever Chrome does.