ladybird/Tests/LibWeb/Screenshot/input/clip-path-polygon.html
Psychpsyo a5a84159a3 Meta: Add DOCTYPEs to sceenshot tests
input-placeholder-ref was modified because the input box ends up
being slightly wider outside of quirks mode.
2025-03-20 11:50:49 +01:00

25 lines
482 B
HTML

<!DOCTYPE html>
<link rel="match" href="../expected/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>