1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 07:17:34 +00:00

LibWeb: Add out-of-flow boxes to anonymous wrapper block when possible

If the previous sibling of an out-of-flow box has been wrapped in an
anonymous block, we now stuff the out-of-flow box into the anonymous
block as well.

Co-authored-by: Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
This commit is contained in:
Andreas Kling 2023-03-25 15:33:22 +01:00
parent 71bdee2837
commit 8f311c61af
6 changed files with 61 additions and 29 deletions

View file

@ -0,0 +1,17 @@
<!DOCTYPE html><html><head><style>
div {
width: 200px;
height: 30px;
}
.banner {
background: lime;
}
.tab {
background: orange;
display: inline-block;
}
.timeline {
background: magenta;
float: right;
}
</style></head><body><div class="banner"></div><div class="tab"></div><div class="timeline">