I just played with same issue today and found out that:
if css rules for filled input are assigned to :-webkit-autofill
and followed by other selectors, Firefox just ignore whole set of rules.
Therefore i needed to add it as separated css rules even they are totally identical:
.bmd-input :focus ~ label,
.bmd-input .filled ~ label{
color: rgba(66,66,66,1);
font-size: 12px;
top: 0;
line-height: 24px;
cursor: default!important;
}
.bmd-input input:-webkit-autofill ~ label,
.bmd-input textarea:-webkit-autofill ~ label{
color: rgba(66,66,66,1);
font-size: 12px;
top: 0;
line-height: 24px;
cursor: default!important;
}
.bmd-input input:-moz-autofill ~ label,
.bmd-input textarea:-moz-autofill ~ label{
color: rgba(66,66,66,1);
font-size: 12px;
top: 0;
line-height: 24px;
cursor: default!important;
}