serenity/Tests/LibWeb/Layout/input/block-and-inline/relpos-float.html
Andreas Kling c83ae729d2 LibWeb: Resolve used insets for floating elements
This makes the game carousel work on https://null.com/ :^)
2023-07-04 06:43:53 +02:00

17 lines
No EOL
354 B
HTML

<!DOCTYPE html><style>
* { border: 2px solid black; }
body { width: 600px; }
div {
width: 200px;
position: relative;
float: left;
}
.athena {
background: green;
top: 4px;
left: -200px;
}
.exekiller {
background: red;
}
</style><body><div class="exekiller">exekiller</div><div class="athena">athena</div></body>