Closed
Bug 1119693
Opened 10 years ago
Closed 10 years ago
Placeholder opacity of number input cannot change
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1004130
People
(Reporter: eddie.moore, Unassigned)
Details
(Keywords: css-moz, css2, css3)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
Steps to reproduce:
//CSS
:-moz-placeholder { /* Firefox 18- */
color: $white;
opacity: 1;
}
::-moz-placeholder { /* Firefox 19+ */
color: $white;
opacity: 1;
}
//HTML
<input type="number" placeholder="D">
Actual results:
Opacity of placeholder stays at default value.
Expected results:
Opacity of placeholder of "number" input should change fully opaque.
It works with type="text" but not with type="number"
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Comment 1•10 years ago
|
||
Sorry I copied the css from Scss. Change color to an actual colour.
//CSS
:-moz-placeholder { /* Firefox 18- */
color: white;
opacity: 1;
}
::-moz-placeholder { /* Firefox 19+ */
color: white;
opacity: 1;
}
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•