Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit cb0ae04

Browse files
committed
Fix for placeholder text not being grayed out in IE10
looks like a similar issue to #5166
1 parent 317f5e3 commit cb0ae04

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

css/structure/jquery.mobile.forms.textinput.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ textarea.ui-mini { height: 45px; }
2323
/* Resolves issue #5166: Added to support issue introduced in Firefox 15. We can likely remove this in the future. */
2424
input::-moz-placeholder, textarea::-moz-placeholder { color: #aaa; }
2525

26+
/* For IE10 */
27+
:-ms-input-placeholder { color: #aaa; }
28+
2629
/* Resolves issue #5131: Width of textinput depends on its type, for Android 4.1 */
2730
input[type=number]::-webkit-outer-spin-button { margin: 0; }
2831

@@ -40,4 +43,4 @@ input[type=number]::-webkit-outer-spin-button { margin: 0; }
4043
.ui-hide-label div.ui-input-text,
4144
.ui-input-search input.ui-input-text,
4245
div.ui-input-text input.ui-input-text { width: 100%; }
43-
}
46+
}

0 commit comments

Comments
 (0)