mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:27:44 +00:00

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.
7 lines
525 B
Text
7 lines
525 B
Text
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
|