ladybird/Tests/LibWeb/Ref/input/render-order-floating-replaced.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

31 lines
798 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="match" href="../expected/render-order-floating-replaced-ref.html" />
<style>
.square {
width: 64px;
height: 64px;
float: left;
}
div.square {
background: green;
display: inline-block;
}
.row { clear: both; }
.row > :nth-child(2) { margin-left: -32px; }
</style>
</head>
<body>
<div class="row">
<img class="square" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAADElEQVQI12P4z8AAAAMBAQAY3Y2wAAAAAElFTkSuQmCC" />
<div class="square"></div>
</div>
<div class="row">
<div class="square"></div>
<img class="square" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAADElEQVQI12P4z8AAAAMBAQAY3Y2wAAAAAElFTkSuQmCC" />
</div>
</body>
</html>