Interestingly, Firefox seems to render input[type] (and input[type=search]) correctly, with the expected rendering with carefully measured height and padding rules. But there are several inconsistencies between the browser. And Firefox doesn't care about line-height for placeholder text, but Chrome does. Weird stuff. A few Chromium issues I found:
Interestingly, Firefox seems to render
input[type]
(andinput[type=search]
) correctly, with the expected rendering with carefully measuredheight
andpadding
rules. But there are several inconsistencies between the browser. And Firefox doesn't care aboutline-height
for placeholder text, but Chrome does. Weird stuff. A few Chromium issues I found:https://code.google.com/p/chromium/issues/detail?id=47284 https://code.google.com/p/chromium/issues/detail?id=178032