mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +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
45
Tests/LibWeb/Ref/input/overflow-hidden-2.html
Normal file
45
Tests/LibWeb/Ref/input/overflow-hidden-2.html
Normal file
|
@ -0,0 +1,45 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link rel="match" href="../expected/overflow-hidden-2-ref.html" />
|
||||
<style>
|
||||
.box1 {
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
background-color: slateblue;
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.translate {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background-color: black;
|
||||
transform: translate(150px, 150px);
|
||||
}
|
||||
|
||||
.box2 {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: orangered;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.box3 {
|
||||
position: relative;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: greenyellow;
|
||||
top: -90px;
|
||||
left: -120px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="box1">
|
||||
<div class="translate">
|
||||
<div class="box2"><div class="box3"></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue