why can't we use multiple types on input fields?

I have tried and failed to find a pure CSS way of making a password-styled input field also pull up a numeric keypad on mobile on Firefox. (Deprecated support of text-security: disc on type=number inputs, for one failed example.)

It seems like this problem would be solved if we could say an input had types of both password and number or tel.

What is it about how how input works makes us unable to design browsers this way?

Did you find this post useful? Show some love!
Classic DEV Post from Apr 30

How engineers can stand out from the applicant pool

Technical founders share stories and advice about how software engineers can stand out from the applicant pool.

Follow @lynnetye to see more of their posts in your feed.
Rae Krantz
Member since Apr 3, 2018
Trending on dev.to
Friday Frontend: Design Systems Edition
#fridayfrontend #css #javascript
Customize your Bootstrap Navbar
#bootstrap #webdev #programming #frontend
Learn New Technology as a Way of Stepping Up Your Understanding of Your Current One
What's your worst estimate story?
#discuss #story #estimate #carreer
Learning to think like a programmer.
Component-based web with zUIx.js
#webdev #javascript #frontend #zuix
How to Style Comment and Message Inputs
#css #html #webdesign #inputs
How do you keep track of what you're reading?