mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 10: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:
parent
71bdee2837
commit
8f311c61af
6 changed files with 61 additions and 29 deletions
|
@ -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">
|
Loading…
Add table
Add a link
Reference in a new issue