http://jsfiddle.net/7yda75v0/8/
If I open the fiddle on my mac book air on latest chrome (38.0.2125.104) the height is 8, in Safari (7.0.3 (9537.75.14)) it's 10, in Firefox (32.0.3) 4.
My coworker have 9 on almost the same machine (my mac has 1.7 Ghz, his 2.0Ghz). Mac book pro device has also a different value.
It looks like a floating point inaccuracy, but why? It's not the browser and not the display. You can get some funny values when you enable browser zoom via CMD +
Changing the font-size to 1.0em
of .t2 results into no differnces, even with browser zoom.
The problem is not limited to very small em values, it's also present for non natural number, like 1.1em
// edit: this is not just for rem
the problem occurs for em
as well.