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:
Aliaksandr Kalenik 2024-07-19 12:45:52 +02:00 committed by Andreas Kling
commit 715f033007
Notes: sideshowbarker 2024-07-19 21:35:31 +09:00
106 changed files with 187 additions and 182 deletions

View 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>