Files
serenity/Tests/LibWeb/Screenshot/text-shadow.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

50 lines
1016 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Text-Shadow</title>
<link rel="match" href="reference/text-shadow-ref.html" />
<style>
* {
margin: 0;
font: 20px SerenitySans;
}
.box {
border: 1px solid black;
height: 150px;
width: 150px;
margin: 10px;
}
</style>
</head>
<body>
<h2>Simple</h2>
<div class="box" style="text-shadow: 25px 50px blue">
<p>text-shadow: 25px 50px blue</p>
</div>
<h2>Blur</h2>
<div class="box" style="text-shadow: magenta 0 0 3px">
<p>text-shadow: magenta 0 0 3px</p>
</div>
<h2>Multiple</h2>
<div class="box" style="text-shadow: 4px 4px blue, 8px 8px green, 12px 12px yellow">
<p>text-shadow: 4px 4px blue, 8px 8px green, 12px 12px yellow</p>
</div>
<h2>Spread</h2>
<div class="box" style="text-shadow: 0 0 0 5px magenta">
<p>text-shadow: 0 0 0 5px magenta</p>
</div>
<h2>Spread and blur</h2>
<div class="box" style="text-shadow: 0 0 10px 5px magenta">
<p>text-shadow: 0 0 10px 5px magenta</p>
</div>
</body>
</html>