I played with text inputs and found an interesting thing — it seems like Firefox (40, OS X) doesn't react on changing line-height
when height
is set, unlike other browsers (for example, Chrome). Why?
input {
font-size: 20px;
line-height: 30px;
height: 20px;
}
<input type="text" value="222222222222222222"/>
P.S. My question isn't a duplicate of this. That question is about the old issue with line-height: normal !important
in default Firefox styles, which is fixed now. In my case styles is applied well, but seems like don't work: