I'm encountering an issue where a div with a font size and line height set to 88 is containing text that extends beyond the specified height. Why is this happening?
<div style="font-size:88px;line-height:88px;">I need <span sytle="color:red;">videos</span></div>
Upon inspecting the element, I noticed that while the parent div appears to be 88px tall, highlighting the text "I need" and its nested span shows a total height of 101px. This inconsistency persists even when setting the line-height on the span itself:
<div style="font-size:88px;line-height:88px;">
I need <span style="font-size:88px;line-height:88px;color:red;">videos</span>
</div>
To see the issue in action, check out this repl: https://repl.it/@teeej/ReliablePunctualRam