mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 07:22:21 +00:00
We previously had no coverage for the situation of "relative-linking to an image in a style sheet which isn't in the same directory as the document".
13 lines
550 B
HTML
13 lines
550 B
HTML
<!DOCTYPE html>
|
|
<link rel="match" href="../../expected/css/images-load-relative-to-style-sheet-ref.html" />
|
|
<link rel="stylesheet" href="../../data/checkerboard-background.css" />
|
|
<style>
|
|
#checkerboard {
|
|
width: 20px;
|
|
height: 20px;
|
|
background-size: cover;
|
|
}
|
|
</style>
|
|
<!-- FIXME: Workaround to ensure CSS background-image is loaded before taking screenshot: https://github.com/LadybirdBrowser/ladybird/issues/3448 -->
|
|
<img style="display:none" src="../../data/2x2checkerboard.png">
|
|
<div id="checkerboard"></div>
|