Truly independent web browser
<!DOCTYPE html>
<svg width="200" height="200">
<rect width="100" height="100" mask="url(#m)"/>
</svg>
<svg width="0" height="0">
<mask id="m"><rect width="50" height="50"/></mask>
</svg>
<script>
// Force a layout so the SVGMaskBox resource box is attached under the referencing <rect>
// before the <mask> is removed.
document.body.offsetWidth;
document.getElementById("m").remove();
</script>