mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 09:18:55 +00:00
LibWeb: Set the correct prototype for SVGAElement instances
This commit is contained in:
parent
a84261ee7a
commit
4db05ecf69
Notes:
sideshowbarker
2024-07-17 06:20:50 +09:00
Author: https://github.com/awesomekling
Commit: 4db05ecf69
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/304
Reviewed-by: https://github.com/nico ✅
4 changed files with 19 additions and 2 deletions
7
Tests/LibWeb/Text/input/SVG/a-element-prototype.html
Normal file
7
Tests/LibWeb/Text/input/SVG/a-element-prototype.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue