mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 19:05:07 +00:00
LibWeb: Handle overlapping floating box and left margin
Allow the left margin of a box which creates a block formatting context to overlap with left floating boxes which are siblings in the document tree. Fixes #20233 and the comment layout on https://lobste.rs.
This commit is contained in:
parent
34c702e6e8
commit
6a17a30e2e
6 changed files with 100 additions and 2 deletions
|
@ -20,7 +20,9 @@
|
|||
|
||||
<body>
|
||||
<div class="ab">
|
||||
<div class="a">A</div>
|
||||
<div>
|
||||
<div class="a">A</div>
|
||||
</div>
|
||||
<div class="b">B</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue