Although the CSS line-height style is 0 for all elements, including span elements, it displays differently in the browser. I tried adding a few lines to the spaces, and the height of the outer div is multiplied accordingly:
https://jsfiddle.net/cjvpLfv2/4/
Thus, it seems that the browser does not allow a line height of 0 for large font sizes. The font size in which the line height exceeds 0 is 17 pixels in Chrome.
If the feature for displaying features is set to inline-block , the lines no longer add up, but the line height remains:
https://jsfiddle.net/cjvpLfv2/6/
If you set the property to map features to block , row-height: 0 applies as expected:
https://jsfiddle.net/cjvpLfv2/7/
I have not found any documentation for this behavior, and the box-model page on mdn simply states that:
for unoccupied inline elements, the amount of space occupied (contribution to the line height) is determined by the line-height property
source share