The font size for this calculation is rounded up or down.
When I increase the CSS font to 13.6px (via the Chrome Inspect function), the height of the text container increased from 19px to 20px.

You can try using Inspect in your browser and interactively customize these CSS options to define your CSS settings.
Johnh source share