mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Use base URL for link loading
This commit is contained in:
Notes:
github-actions[bot]
2024-08-13 13:35:13 +00:00
Author: https://github.com/vpzomtrrfrt Commit: https://github.com/LadybirdBrowser/ladybird/commit/c6975a16806 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1036 Reviewed-by: https://github.com/AtkinsSJ ✅ Reviewed-by: https://github.com/shannonbooth
17
Tests/LibWeb/Text/input/base/link-element-base.html
Normal file
17
Tests/LibWeb/Text/input/base/link-element-base.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user