block by micahstubbs e0a2537bf658e8bf7fad

Browser-zoom robust dynamic foreignObject tooltips

Full Screen

Browser-zoom robust foreignObject tooltips in SVG

Based on this previous gist, but robust to changes in browser zoom level (text inside tooltip doesn’t get cut off when zoom < 100%).

forked from jebeck‘s block: Browser-zoom robust foreignObject tooltips

forked from micahstubbs‘s block: Browser-zoom robust static foreignObject tooltips

index.html

detect-zoom.min.js