Truly independent web browser
<!DOCTYPE html>
<link rel="match" href="../../expected/svg/switch-ref.html" />
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
<switch id="s">
<circle cx="50" cy="50" r="40" fill="green" />
<rect y="100" width="100" height="100" fill="red" />
</switch>
</svg>
<script>
const div = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
div.textContent = "This text should be ignored here.";
document.getElementById("s").prepend(div);
</script>