I am using relatively positioned HTML elements in an SVG foreignObject
. However, in Chrome, the relatively positioned content isn't respecting scale()
or viewBox
. Consequently it isn't the right size.
Here is an example of my problem on jsFiddle. All three text snippets should appear the same size to the end users... but in Chrome they don't.
What's causing this?