mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02: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.
13 lines
880 B
Plaintext
13 lines
880 B
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x134.46875 [BFC] children: inline
|
|
line 0 width: 170.96875, height: 134.46875, bottom: 134.46875, baseline: 13.53125
|
|
frag 0 from BlockContainer start: 0, length: 0, rect: [2,15 168.96875x119.46875]
|
|
BlockContainer <body> at (2,15) content-size 168.96875x119.46875 inline-block [BFC] children: not-inline
|
|
BlockContainer <div.hmm> at (3,16) content-size 166.96875x17.46875 children: inline
|
|
line 0 width: 166.96875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 21, rect: [3,16 166.96875x17.46875]
|
|
"suspiciously tall box"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (2,134.46875) content-size 168.96875x0 children: inline
|
|
TextNode <#text>
|