mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:17:35 +00:00

Instead of just measuring the layout viewport, we now measure overflow in every box that is a scroll container. This has the side effect of no longer creating paintables for layout boxes that didn't participate in layout. (For example, empty/anonymous boxes that were ignored by flex itemization.) Such boxes are now marked as "(not painted)" in the layout tree dumps, as they have no paintable to dump geometry from.
14 lines
872 B
Text
14 lines
872 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x35.46875 [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <body> at (8,8) content-size 20x19.46875 floating [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 20x0 children: inline
|
|
TextNode <#text>
|
|
Box <div.grid> at (8,8) content-size 20x19.46875 [GFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.whee> at (9,9) content-size 18x17.46875 [BFC] children: inline
|
|
line 0 width: 37.953125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 4, rect: [9,9 37.953125x17.46875]
|
|
"whee"
|
|
TextNode <#text>
|