HTML with Overlapping SVG Content

Embedded SVG

This is a paragraph which should receive pointer events even though the embedded SVG overlaps it.

Inline SVG

This is a paragraph which should receive pointer events even though the inline SVG overlaps it.

document.getElementById("inlinesvg").addEventListener("click", function() { alert('Inline SVG clicked')}, false);