1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<svg xmlns="http://www.w3.org/2000/svg"> <marker id="m1"> <rect/> <marker> <line id="z" marker-end="url(#m1)"/> </marker> </marker> <script> function boom() { document.getElementById("z").getBoundingClientRect(); } window.addEventListener("load", boom, false); </script> </svg>