ladybird/Tests/LibWeb/Ref/expected/render-order-floating-replaced-ref.html
InvalidUsernameException 5f1a146afd LibWeb: Draw floating replaced elements more correctly
Previously floating replaced elements were drawn incorrectly and also
twice.
2025-03-03 21:49:44 +01:00

27 lines
497 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
.row > div {
height: 64px;
float: left;
}
.row { clear: both; }
.row > :nth-child(1) { width: 32px; }
.row > :nth-child(2) { width: 64px; }
.red { background-color: red; }
.green { background-color: green; }
</style>
</head>
<body>
<div class="row">
<div class="red"></div>
<div class="green"></div>
</div>
<div class="row">
<div class="green"></div>
<div class="red"></div>
</div>
</body>
</html>