mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
25 lines
682 B
HTML
25 lines
682 B
HTML
<!doctype html>
|
|
<link rel="match" href="../expected/svg-background-no-natural-size-ref.html" />
|
|
<style>
|
|
body {
|
|
background-color: white;
|
|
}
|
|
div {
|
|
border: 1px solid black;
|
|
height: 50px;
|
|
width: 50px;
|
|
background-repeat: no-repeat;
|
|
background-position: 50% 50%;
|
|
}
|
|
.svg-rect {
|
|
background-size: 34%;
|
|
background-image: url(../data/vertical-rect.svg);
|
|
}
|
|
img {
|
|
width: 100px;
|
|
padding: 10px;
|
|
}
|
|
</style>
|
|
<div class="svg-rect"></div>
|
|
<!-- FIXME: Workaround to ensure CSS background-image is loaded before taking screenshot: https://github.com/LadybirdBrowser/ladybird/issues/3448 -->
|
|
<body><span></span><img src="../data/vertical-rect.svg">
|