mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 12:06:07 +00:00
Tests+headless-browser: Move screenshot ref-tests into own directory
This change will make it easier to disable screenshot comparison tests on a specific platform or have per-platform expectations. Additionally, it's nice to be able to tell if a ref-test uses a screenshot as an expectation by looking at the test path.
This commit is contained in:
parent
0ae048102c
commit
715f033007
Notes:
sideshowbarker
2024-07-19 21:35:31 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 715f033007
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/713
106 changed files with 187 additions and 182 deletions
34
Tests/LibWeb/Screenshot/inline-node.html
Normal file
34
Tests/LibWeb/Screenshot/inline-node.html
Normal file
|
@ -0,0 +1,34 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link rel="match" href="reference/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