ladybird/Tests/LibWeb/Text/input/SVG/svg-svg-getElementById.html
Andreas Kling 96e074b38f LibWeb: Make SVGSVGElement.getElementById() return Element? (nullable)
This is wrong in the spec, and there's already a bug open.
2025-01-21 02:06:33 +01:00

8 lines
194 B
HTML

<script src="../include.js"></script>
<svg id="svgRoot"></svg>
<script>
test(() => {
const x = svgRoot.getElementById("x");
println(`PASS: ${x === null}`);
});
</script>