mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 18:07:35 +00:00
LibWeb: Don't put abspos grid/flex items in anonymous wrapper
Grid and flex containers have their own rules for abspos items, so we shouldn't try to be clever and put them in the "current" anonymous wrapper block. That behavior is primarily for the benefit of block & inline layout.
This commit is contained in:
parent
8760376abe
commit
7b4c76788b
3 changed files with 25 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (1,1) content-size 798x20 children: not-inline
|
||||
BlockContainer <body> at (10,10) content-size 780x2 children: not-inline
|
||||
Box <div.pink> at (11,11) content-size 778x0 flex-container(row) children: not-inline
|
||||
BlockContainer <(anonymous)> at (11,11) content-size 0x0 children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <div.orange> at (11,-39) content-size 100x100 positioned children: not-inline
|
Loading…
Add table
Add a link
Reference in a new issue