LibWeb: Set the correct prototype for SVGAElement instances

This commit is contained in:
Andreas Kling 2024-06-28 14:51:57 +02:00 committed by Andreas Kling
commit 4db05ecf69
Notes: sideshowbarker 2024-07-17 06:20:50 +09:00
4 changed files with 19 additions and 2 deletions

View file

@ -0,0 +1,7 @@
<script src="../include.js"></script>
<script>
test(() => {
let a = document.createElementNS("http://www.w3.org/2000/svg", "a");
println(a.__proto__ === SVGAElement.prototype);
});
</script>