mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-26 20:26:53 +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
38
Tests/LibWeb/Screenshot/input/css-background-repeat.html
Normal file
38
Tests/LibWeb/Screenshot/input/css-background-repeat.html
Normal file
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="match" href="../expected/css-background-repeat-ref.html" />
|
||||
<style>
|
||||
body {
|
||||
background: cyan;
|
||||
}
|
||||
iframe {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.background {
|
||||
background: white url(../data/smiley.png);
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<iframe src="../data/background-repeat.html"></iframe>
|
||||
<iframe src="../data/background-repeat-x.html"></iframe>
|
||||
<iframe src="../data/background-no-repeat.html"></iframe>
|
||||
<iframe src="../data/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>
|
Loading…
Add table
Add a link
Reference in a new issue