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 Nov 21

Dev.to Review #9: Top 7 Of The Week, Discussed

Two devs get together to discuss the week's Top 7 posts on dev.to

Rae Krantz

A blogging community of over 100,000 software developers Join dev.to