Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
120.2.33
-3.3.3
0..0
In Chrome 87 the above entries get processed into valid numbers as the invalid characters are simply removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
120.2.33 -> 120.233
-3.3.3 -> -3.33
0..0 -> 0.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh interesting - what "removed" means is those characters are not accepted into the input. You type them and they just don't appear.
Begs the question why they still allow you to type
10e10000- if they know to refuse a second decimal point, why don't they also refuse another zero past10e100? There's no way to continue typing and turn that into a valid number. Likewise12-.3makes no sense at all. Really the only non-numbers they need to allow you to type are incomplete numbers, so I'd probably just put a few of those in and take out these others. Like perhaps-.,12e-. Otherwise we'll just see this problem again when they tighten up their logic further.