.
< / div >, where.
is wrapped by the row box box.
finally, the blank node appears in front of the row box, that is, strut. .
hha < / div >, the height of the div is not equal to the height of the span element, and the height of the div element is the affected by the blank node.
this empty has a height, and the height behaves the same as if there is a "strut" in front of it. All line-box are preceded by a "strut", and each containing-block has at least one "strut". (this "strut" behaves like other inline elements, only with a height width of 0.) the inline element cannot set the width,height, to hold up the containing-block. only when the height width is 0. Set the horizontal width of the padding,border,margin, to appear, so prop up the height of the container.
here the containing-block of the inline-block element with 0 width and height has a height exactly equal to line-height. This height can only be caused by different baseline alignments. the special feature of the inline-block element is that the interior can hold line-box, so there is at least one "strut" inside. Here the baseline of the "strut" of the containing-block is at the top, and the baseline of the "strut" in the inner inline-block is at the bottom. (inline-block element baseline gives priority to the bottom inline element of the baseline, of the inline element without any inline element is the bottom margin edge)
<div><span></span></div>
div0,span.
<div><span style="display:inline-block;"><i></i></span></div>
i
the two baselines are aligned, and the distance from the baseline to the baseline is the definition of row height.
I found that it is the problem with the browser. There is really no height with Google. If you change it to Firefox, you can also try it.