@elliot My screenshots were from Chrome v 41.x desktop.
In Firefox 36.x desktop, it’s setting the width to auto, as you intended, but the height is always set to 30px tall. Although, it’s not as bad as Chrome, it still looks pretty bad.
In Safari 8.x desktop, it looks as you probably intended – perfect!
IE11 gets it right, too.