Normalize.css: Normalize Mozilla Firefox placeholder opacity

Created on 11 Apr 2018  路  3Comments  路  Source: necolas/normalize.css

Windows/Mozilla Firefox Quantum 59.0.2 (x64). The placeholder has opacity.

Solution:
::-moz-placeholder{opacity:1}

Normalize for all browsers (_probably unnecessary_)
::-webkit-input-placeholder{opacity:1}
::-moz-placeholder{opacity:1}
:-ms-input-placeholder{opacity:1}

Most helpful comment

Instead of normalizing Firefox, Webkit normalization should be returned.
It was removed due to a bug in Edge, but this bug was fixed in Edge 15.
Old versions of Edge lower than 15 have very low usage statics: 0.12% total

All 3 comments

Instead of normalizing Firefox, Webkit normalization should be returned.
It was removed due to a bug in Edge, but this bug was fixed in Edge 15.
Old versions of Edge lower than 15 have very low usage statics: 0.12% total

An up-to-date look at UA styles for placeholder text:
https://github.com/whatwg/html/issues/2561#issuecomment-569920124

Revert #603 maybe?

Was this page helpful?
0 / 5 - 0 ratings