Files
serenity/Tests/LibWeb/Screenshot/inline-node.html
Aliaksandr Kalenik 10dfaf1539 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.

(cherry picked from commit 715f0330070d9f8ecc88a8e66e4d8c85f795d622;
amended to also move
Tests/LibWeb/Screenshot/canvas-stroke-styles.html and support files)
2024-10-10 23:27:47 -04:00

35 lines
868 B
HTML

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