mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-22 16:09:23 +00:00
We were always creating an anonymous container for the inline contents of table cells, but the layout node we spawn for the table cells themselves already is capable of dealing with inline nodes. Regular logic should kick in for dealing with the block/inline node invariant.
50 lines
3 KiB
Text
50 lines
3 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x42 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x26 children: not-inline
|
|
TableWrapper <(anonymous)> at (8,8) content-size 49.21875x26 [BFC] children: not-inline
|
|
Box <table> at (8,8) content-size 49.21875x26 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (10,10) content-size 45.21875x22 table-row-group children: not-inline
|
|
Box <tr> at (10,10) content-size 45.21875x10 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (11,15) content-size 0x0 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (16,12) content-size 37.21875x18 table-cell [BFC] children: inline
|
|
TextNode <#text>
|
|
InlineNode <a>
|
|
frag 0 from TextNode start: 0, length: 4, rect: [16,12 37.21875x18] baseline: 13.796875
|
|
"Test"
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (10,22) content-size 45.21875x10 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (11,27) content-size 0x0 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x42]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x26]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 49.21875x26]
|
|
PaintableBox (Box<TABLE>) [8,8 49.21875x26]
|
|
PaintableBox (Box<TBODY>) [10,10 45.21875x22]
|
|
PaintableBox (Box<TR>) [10,10 45.21875x10]
|
|
PaintableWithLines (BlockContainer<TD>) [10,10 2x10]
|
|
PaintableWithLines (BlockContainer<TD>) [14,10 41.21875x22]
|
|
PaintableWithLines (InlineNode<A>) [16,12 37.21875x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [10,22 45.21875x10]
|
|
PaintableWithLines (BlockContainer<TD>) [10,22 2x10]
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x42] [children: 0] (z-index: auto)
|