Files
serenity/Tests/LibWeb/Text/input/base/link-element-base.html
Colin Reeder 145c218c8d LibWeb: Use base URL for link loading
(cherry picked from commit c6975a16806a6e7d203a178bd5821941f8a9e4fa)
2024-11-07 23:07:20 -05:00

18 lines
453 B
HTML

<!DOCTYPE html>
<html>
<head>
<base href="..">
<link rel="stylesheet" href="body-background-color-red.css">
</head>
<body>
<script src="include.js"></script>
<script>
test(() => {
window.onload = () => {
println("document background: " + getComputedStyle(document.body).backgroundColor);
};
});
</script>
</body>
</html>