mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 02:26:10 +00:00
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:
parent
08253d6aee
commit
b7efb61fbe
Notes:
github-actions[bot]
2024-11-05 16:45:19 +00:00
Author: https://github.com/AtkinsSJ
Commit: b7efb61fbe
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2175
Reviewed-by: https://github.com/gmta ✅
360 changed files with 451 additions and 448 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue