Fix the vertical alignment error for img tag.
auto merge of #2592 : june0cho/servo/fix_vertical_align, r=SimonSapin

It fixes the wrong vertical alignment for img element. (related to #2422, #2554)
Worked with @ryanc