mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-18 23:12:02 +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".
12 lines
447 B
HTML
12 lines
447 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
#checkerboard {
|
|
width: 20px;
|
|
height: 20px;
|
|
background: url("../../data/2x2checkerboard.png");
|
|
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>
|