Closed Bug 1119693 Opened 9 years ago Closed 9 years ago

Placeholder opacity of number input cannot change

Categories

(Firefox :: Untriaged, defect)

34 Branch
x86
macOS
defect
Not set
normal

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"
Keywords: css-moz, css2, css3
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;
}
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.