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 May 12

What Developers Should Know from Microsoft Build

We're clearly entering a new era for Microsoft and for developers that moves from tools and platforms to cloud and services.

READ POST
Follow @remotesynth to see more of their posts in your feed.
Rae Krantz
Member since Apr 3, 2018
Trending on dev.to
Sweating the very small design details: external links
#css #webdev #design #discuss
Tips on Creating Reusable Components
#javascript #frontend #react
Three tips for writing better CSS
#css
Making an animated nav component - WotW
#webdev #vue #css #ui
If you're a frontend developer, How did you get your first job?
#frontend #careers #jobs #discuss
Part One: Using Typescript with React
#javascript #frontend #react #typescript
Highlights from Frontend Tooling Survey 2018
#frontend #javascript #ui #survey