Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome prevents + Firefox/Safari allow non-numeric user input to number fields #25642

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

caugner
Copy link
Contributor

@caugner caugner commented Jan 13, 2025

Summary

Add notes for the way Chrome and Firefox/Safari behave differently to non-numeric user input.

Test results and supporting details

Using BrowserStack Live and local installs, I verified the behavior

  • in the current browser versions, and
  • in the earliest versions that support <input type="number">.

Related issues

Fixes #13403.

@caugner caugner requested a review from Elchi3 January 13, 2025 18:32
@github-actions github-actions bot added data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML size:s [PR only] 7-24 LoC changed labels Jan 13, 2025
@Elchi3 Elchi3 merged commit 32d131b into main Jan 14, 2025
10 checks passed
@Elchi3 Elchi3 deleted the 13403-input-number-impl-notes branch January 14, 2025 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML size:s [PR only] 7-24 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

html.elements.input.input-number - FF94.0.1 on Ubuntu 21.10 allows non-numeric entry
2 participants