1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 18:35:07 +00:00
serenity/Tests/LibWeb/Layout/input/ifc-float-left-and-sibling-with-margin-left.html
Andreas Kling f97754942c LibWeb: Collapse margin-left with space used by left-side floats
We had an issue where boxes with margin-left were shifted right by
left-side floats twice instead of just once.
2023-03-11 10:46:26 +01:00

16 lines
No EOL
385 B
HTML

<!DOCTYPE html><html><head><style>
* {
border: 1px solid black;
font-family: 'SerenitySans';
}
.thumbnail {
float: left;
width: 50px;
height: 50px;
background-color: pink;
}
.title {
margin-left: 80px;
background-color: orange;
}
</style></head><body><div class="thumbnail"></div><div class="title">Chrono Trigger