This is down to relying on a non-standards compliant behavior. I actually like the behavior, but it is what it is.
XHTML 1.0 transitional only triggers "almost standards" on the browsers. The one thing it violates is leaving space around images in tables for ascenders/descenders. HTML5 triggers full standards mode. This table is relying on the almost standards behavior.