mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 09:52:31 +00:00
15 lines
470 B
HTML
15 lines
470 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
asyncTest(done => {
|
|
const link = document.createElement("link");
|
|
link.rel = "stylesheet";
|
|
document.head.appendChild(link);
|
|
println(`sheet property initial value: ${link.sheet}`);
|
|
link.href = "../valid.css";
|
|
link.onload = () => {
|
|
println(`Sheet property after stylesheet loaded: ${link.sheet}`);
|
|
done();
|
|
}
|
|
});
|
|
</script>
|