Placeholder Text for an Input Type="Number" Does Not Show in Webkit Ics

input type text wrong placeholder value

if anyone has the same problem:

Delete the formula data on the phone. (Adnroid 4.x Stock Browser.), it seems to solve the problem.

Android ICS loses some input CSS styling on focus

As I found the fix, I would like to answer my own question,
I added the below line to input field,

-webkit-user-modify: read-write-plaintext-only;

i.e.,

input{
-webkit-user-modify: read-write-plaintext-only;
-webkit-tap-highlight-color: rgba(255,255,255,0);
}

Ref: http://css-infos.net/property/-webkit-user-modify

Once I added this, the input field outline disappears even in Android ICS. Thanks



Related Topics



Leave a reply



Submit