In this pen below:
https://codepen.io/Fr1nge/pen/yLgXKvr
* {
margin: 0;
padding: 0;
box-sizing: inherit;
}
html {
font-size: 62.5%;
box-sizing: border-box;
}
p {
text-align: start;
font-size: 1.6rem;
line-height: 1.6rem;
}
span {
background-color: DimGray;
border: 1px solid;
}
em {
background-color: lavender;
border: 1px solid;
font-size: 3.6rem;
}
strong {
background-color: Gainsboro;
border: 1px solid;
}
<p><span>This is a span element</span><em>This is an em element</em><strong>This is a strong element</strong></p>
The em element has a font-size of 3.6 rem and a inherited line-height of 1.6rem, the difference of which will give a leading of -1rem both on top and bottom, accordingly the content area of the em element should have been 1.6rem which is same as other elements in the line box. But the content area of the em element is more than other elements, how is this? There is empty space on top and below the other 2 elements which makes them and hence the line box taller than 1.6rem.