serenity/Tests/LibWeb/Screenshot/outer-box-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

75 lines
2 KiB
HTML

<html>
<link rel="match" href="reference/outer-box-shadow-ref.html" />
<head>
<style>
.box {
border: 1px solid black;
height: 100px;
width: 100px;
margin: 50px;
}
#with-bg {
background-image: linear-gradient(to right, red, blue, cyan, yellow, green);
width: 240px;
padding-top: 60px;
}
.cmy {
box-shadow: 20px 10px 5px magenta, cyan -20px -10px 5px, yellow 10px -5px 5px 20px;
}
body {
background-color: white;
}
</style>
</head>
<body>
<div id="no-bg">
<div class="box cmy" style="border-radius: 50%;">
</div>
<div class="box cmy" style="border-radius: 80% 15% 55% 50% / 55% 15% 80% 50%;">
</div>
<div class="box cmy" style="border-radius: 20px;">
</div>
<div class="box" style="box-shadow: magenta -40px -20px; border-radius: 30%;">
</div>
<div class="box cmy">
</div>
<div class="box" style="box-shadow: 20px 10px 5px magenta">
</div>
<div class="box" style="box-shadow: 20px 10px magenta">
</div>
<div class="box" style="box-shadow: magenta -40px -20px">
</div>
<div class="box" style="box-shadow: 20px 10px rgba(255,0,255,0.5)">
</div>
<div class="box" style="box-shadow: -40px -20px rgba(255,0,255,0.5)">
</div>
</div>
<div id="with-bg">
<div class="box cmy" style="border-radius: 50%;">
</div>
<div class="box cmy" style="border-radius: 80% 15% 55% 50% / 55% 15% 80% 50%;">
</div>
<div class="box cmy" style="border-radius: 20px;">
</div>
<div class="box" style="box-shadow: magenta -40px -20px; border-radius: 30%;">
</div>
<div class="box cmy">
</div>
<div class="box" style="box-shadow: 20px 10px 5px magenta">
</div>
<div class="box" style="box-shadow: 20px 10px magenta">
</div>
<div class="box" style="box-shadow: magenta -40px -20px">
</div>
<div class="box" style="box-shadow: 20px 10px rgba(255,0,255,0.5)">
</div>
<div class="box" style="box-shadow: -40px -20px rgba(255,0,255,0.5)">
</div>
</div>
</body>
</html>