mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
This fixes a crash when enabling an already disabled link element. Fixes a crash when changing mdbook themes.
13 lines
343 B
HTML
13 lines
343 B
HTML
<!DOCTYPE html>
|
|
<script src="include.js"></script>
|
|
<link rel="stylesheet" href="valid.css">
|
|
<script>
|
|
test(() => {
|
|
const link = document.querySelector("link");
|
|
link.onload = () => {
|
|
link.disabled = true;
|
|
link.disabled = false;
|
|
println("PASS (didn't crash)");
|
|
};
|
|
});
|
|
</script>
|