mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-12 12:01:52 +00:00
14 lines
442 B
HTML
14 lines
442 B
HTML
<!DOCTYPE html>
|
|
<script src="include.js"></script>
|
|
<script>
|
|
asyncTest(done => {
|
|
globalThis.done = done;
|
|
|
|
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'); done();");
|
|
document.head.appendChild(link);
|
|
});
|
|
</script>
|