I want to get the vertical offset of a SVG path in pixels. I played with getBoundClientRect() and getBBox(), but these return too high values. Is there any way to do something like offset().top for a normal jQuery element?
Brief example: https://jsfiddle.net/aq13swsr/2/
I want the amount of pixels between the top black line and the top red line.
