ladybird/Tests/LibWeb/Screenshot/css-background-repeat.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

38 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="match" href="reference/css-background-repeat-ref.html" />
<style>
body {
background: cyan;
}
iframe {
width: 200px;
height: 200px;
display: block;
margin-bottom: 10px;
}
.background {
background: white url(./assets/smiley.png);
width: 200px;
height: 200px;
margin-bottom: 10px;
}
</style>
</head>
<body>
<iframe src="./assets/background-repeat.html"></iframe>
<iframe src="./assets/background-repeat-x.html"></iframe>
<iframe src="./assets/background-no-repeat.html"></iframe>
<iframe src="./assets/background-repeat-y.html"></iframe>
<div class="background" style="background-repeat: repeat"></div>
<div class="background" style="background-repeat: repeat-x"></div>
<div class="background" style="background-repeat: no-repeat"></div>
<div class="background" style="background-repeat: repeat-y"></div>
<div class="background" style="background-repeat: repeat repeat"></div>
<div class="background" style="background-repeat: repeat no-repeat"></div>
<div class="background" style="background-repeat: no-repeat no-repeat"></div>
<div class="background" style="background-repeat: no-repeat repeat"></div>
</body>
</html>