I have a simple SVG that sets a viewbox and draws a rectangle. it also defines that same rectangle in <defs>
and uses it on the same position as the first.
My expectation was that both rectangles should be overlapping exactly. Chrome does that as expected, but Firefox offsets the referenced rectangle by some amount.
Here is a jsfiddle describing the problem: https://jsfiddle.net/ycrehoz0/
I first observed this problem using the svg.js library, but it seems to be unrelated
Am i doing something wrong? is this a bug in firefox? can i fix it somehow?
Thanks