This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Created attachment 1430 [details] the html demo please see the demo
See https://developer.mozilla.org/en-US/docs/Images,_Tables,_and_Mysterious_Gaps http://html-differences.whatwg.org/#doctype references https://hsivonen.fi/doctype/ which also explains this. The quirk should be specified in http://quirks.spec.whatwg.org/ ("The line height calculation quirk" and "The blocks ignore line-height quirk" I think).