mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-15 07:32:52 +00:00
We were neglecting to set up event handlers for these due to a missing call to the base class in HTMLLinkElement::parse_attribute().
9 lines
328 B
HTML
9 lines
328 B
HTML
<script src="include.js"></script>
|
|
<script>
|
|
let link = document.createElement("link");
|
|
link.setAttribute("rel", "preload");
|
|
link.setAttribute("href", "valid.css");
|
|
link.setAttribute("as", "style");
|
|
link.setAttribute("onload", "println('link element onload')");
|
|
document.head.appendChild(link);
|
|
</script>
|