non-numeric entry allowed in input[type=number] elements on Ubuntu 21.10
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: oelschlegel, Unassigned)
Details
Attachments
(1 file)
107.74 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0
Steps to reproduce:
User agents tested:
Firefox 94: Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0
Chrome (ungoogled-chromium) 91: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36
Both tests using Ubuntu 21.10.
Create a page with single input type="number" element. Visit the page and attempt data entry using a-z chars only
https://codepen.io/oelschlegel/pen/LYjrzZj
Actual results:
FF94 allows non-numeric entry, while Chrome 91 does not.
Expected results:
Non-numeric characters should not be displayed in the input.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Form Controls' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•3 years ago
|
Description
•