mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 16:21:29 +00:00
715f033007
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.
25 lines
532 B
HTML
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">
|