1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:07:36 +00:00

LibWeb: Re-enable the css-background-repeat.html ref test

Assuming that my changes to make iframes delay the load event are
correct, and that nothing else was causing the flakiness, this test
should be OK now! (Famous last words.)
This commit is contained in:
Sam Atkins 2023-11-24 16:09:30 +00:00 committed by Andreas Kling
parent 2805e16c1c
commit 9c12112916

View file

@ -0,0 +1,38 @@
<!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>