mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-02 22:29: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
34
Tests/LibWeb/Screenshot/input/inline-node.html
Normal file
34
Tests/LibWeb/Screenshot/input/inline-node.html
Normal file
|
@ -0,0 +1,34 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link rel="match" href="../expected/inline-node-ref.html" />
|
||||
<meta charset="UTF-8">
|
||||
<title>Inline Node styling test</title>
|
||||
<style>
|
||||
body {
|
||||
line-height: 200%;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
background-color: orange;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.bg-highlight {
|
||||
background: magenta;
|
||||
color: white;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.br-highlight {
|
||||
border: 2px solid green;
|
||||
border-radius: 6px;
|
||||
box-shadow: 4px 4px 4px darkgreen;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
Hello world <span class="highlight">this is some text</span> not in a box. <span class="bg-highlight">This text has a background</span> and <span class="br-highlight">this text has a shadow!</span>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue