This simple piece of html:
<div style="background:blue">
<svg width="40" height="40" style="background:red"></svg> some text
</div>
You can see that the svg is 40px
but the surrounding div is 44px
high (tested on chrome).
Why. And how to make the surrounding div respect the size of the SVG without an explicit height
on the surrounding div and keeping the layout svg+text
in a single line?