ladybird/Tests/LibWeb/Screenshot/svg-background-no-natural-size.html
Aliaksandr Kalenik 715f033007 Tests+headless-browser: Move screenshot ref-tests into own directory
This change will make it easier to disable screenshot comparison tests
on a specific platform or have per-platform expectations.

Additionally, it's nice to be able to tell if a ref-test uses a
screenshot as an expectation by looking at the test path.
2024-07-19 13:52:00 +02:00

25 lines
532 B
HTML

<!doctype html>
<link rel="match" href="reference/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(./assets/vertical-rect.svg);
}
img {
width: 100px;
padding: 10px;
}
</style>
<div class="svg-rect"></div>
<body><span></span><img src="./assets/vertical-rect.svg">