Place a DIV

Center a DIV within its SVG parent. Uses htmlElement.getBoundingRect() to determine its center point and size. Then the foreignObject is translated to its SVG location.
Scenerio:

SVG Source:
Javascript:
OK in: CH41/FF35