There's new CSS capabilities [0] that can help solve this problem better now via alignment-baseline [1] and text-box-trim [2].[0] <a href="https://www.w3.org/TR/css-inline-3/#leading-trim" rel="nofollow">https://www.w3.org/TR/css-inline-3/#leading-trim[1] <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/alignment-baseline" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/P...[2] <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/text-box-trim" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/P...
pveierland · · focus · HN ↗
[0] <a href="https://www.w3.org/TR/css-inline-3/#leading-trim" rel="nofollow">https://www.w3.org/TR/css-inline-3/#leading-trim
[1] <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/alignment-baseline" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/P...
[2] <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/text-box-trim" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/P...