The line-height quirk:
https://quirks.spec.whatwg.org/#the-line-height-calculation-quirk
defines that if:
It either contains no text or it contains only collapsed whitespace.
then the line-height quirk should be applied.
Blink and WebKit apply the line-height quirk for the first 3 cases below but not the last one.
<div><img src="images/1x1.png"></div>
<div><img src="images/1x1.png"> </div>
<div><img src="images/1x1.png"><br></div>
<div><img src="images/1x1.png"> <br></div>
Comment 1 by kojii@chromium.org
, Apr 3 2018350 bytes
350 bytes View Download