Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others

Now each test type has the same directories:
- input
- expected
- data

Also, tests can be in subdirectories within ./input.
This commit is contained in:
Sam Atkins 2024-11-05 12:49:08 +00:00 committed by Sam Atkins
commit b7efb61fbe
Notes: github-actions[bot] 2024-11-05 16:45:19 +00:00
360 changed files with 451 additions and 448 deletions

View file

@ -0,0 +1,44 @@
<!DOCTYPE html>
<head>
<link rel="match" href="reference/scrollable-contains-rotated-boxes-ref.html" />
<style>
body {
margin: 0;
padding: 0;
height: 1000px;
}
#scroll-container {
width: 300px;
height: 300px;
overflow-y: scroll;
background-color: #fff;
}
.rotated-box {
width: 100px;
height: 100px;
margin: 10px;
background-color: #3498db;
overflow: hidden;
}
.nested-box {
width: 200px;
height: 200px;
background-color: crimson;
}
</style>
</head>
<body>
<div id="scroll-container">
<div class="rotated-box"><div class="nested-box"></div></div>
<div class="rotated-box"><div class="nested-box"></div></div>
<div class="rotated-box"><div class="nested-box"></div></div>
<div class="rotated-box"><div class="nested-box"></div></div>
<div class="rotated-box"><div class="nested-box"></div></div>
<div class="rotated-box"><div class="nested-box"></div></div>
<div class="rotated-box"><div class="nested-box"></div></div>
</div>
</body>
<script>
const scrollContainer = document.getElementById("scroll-container");
scrollContainer.scrollTop = 100;
</script>