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

This patch does three things: - Factors out the code that determines whether a box will create a new formatting context for its children (and which type of context) - Uses that code to mark all formatting context roots in layout tree dumps. This makes it much easier to follow along with layout since you can now see exactly where control is transferred to a new formatting context. - Rebaselines all existing layout tests, since the output format has changed slightly.
4 lines
344 B
Text
4 lines
344 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x0 [BFC] children: not-inline
|
|
BlockContainer <body.outer> at (8,8) content-size 0x0 positioned [BFC] children: not-inline
|
|
BlockContainer <div.inner> at (9,9) content-size 0x0 positioned [BFC] children: not-inline
|