mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 08:59:50 +00:00
input-placeholder-ref was modified because the input box ends up being slightly wider outside of quirks mode.
25 lines
482 B
HTML
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>
|