Files
ladybird/Tests/LibWeb/Screenshot/clip-path-polygon.html
Aliaksandr Kalenik 715f033007 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.
2024-07-19 13:52:00 +02:00

25 lines
464 B
HTML

<link rel="match" href="reference/clip-path-polygon-ref.html" />
<style>
.comment {
position: absolute;
left: 20px;
width: 100px;
height: 50px;
border: 1px solid black;
}
.comment::before {
position: absolute;
right: 100%;
width: 8px;
height: 16px;
pointer-events: none;
content: " ";
background-color: black;
clip-path: polygon(0 50%, 100% 0, 100% 100%);
}
</style>
<div class=comment></div>