mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:47:44 +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.
10 lines
947 B
Text
10 lines
947 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x220 [BFC] children: not-inline
|
|
BlockContainer <body> at (10,10) content-size 780x202 children: not-inline
|
|
Box <div.flex> at (11,11) content-size 300x200 flex-container(row) [FFC] children: not-inline
|
|
BlockContainer <div> at (12,12) content-size 100x20 flex-item [BFC] children: not-inline
|
|
BlockContainer <div> at (114,12) content-size 100x20 flex-item [BFC] children: not-inline
|
|
BlockContainer <div> at (12,95.333328) content-size 100x20 flex-item [BFC] children: not-inline
|
|
BlockContainer <div> at (114,95.333328) content-size 100x20 flex-item [BFC] children: not-inline
|
|
BlockContainer <div> at (12,178.666656) content-size 100x20 flex-item [BFC] children: not-inline
|
|
BlockContainer <div> at (114,178.666656) content-size 100x20 flex-item [BFC] children: not-inline
|