Bug #214019: Image with vertical-align="top" set inside "a" element.

Description

Inspired by problems at www.dipol.com.pl which uses vertical-align="top" in its vertical menu. Hovering menu items is erratic because image is displaced relative to the area that is hoverable.
Problem can be seen when there is: Can't be seen with: This testcase uses <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> doctype.

Testcase

Examples of case #1 with other doctypes

diz courtesy of zajec.net