mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 00:49:46 +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.
30 lines
1.8 KiB
Text
30 lines
1.8 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x316 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x300 children: not-inline
|
|
TableWrapper <(anonymous)> at (8,8) content-size 200x300 [BFC] children: not-inline
|
|
Box <div.table> at (8,8) content-size 200x300 table-box [TFC] children: not-inline
|
|
Box <div.row.a> at (8,8) content-size 200x100 table-row children: not-inline
|
|
BlockContainer <div.cell> at (8,8) content-size 200x18 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [8,8 9.34375x18] baseline: 13.796875
|
|
"a"
|
|
TextNode <#text>
|
|
Box <div.row.b> at (8,108) content-size 200x200 table-row children: not-inline
|
|
BlockContainer <div.cell> at (8,108) content-size 200x18 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [8,108 9.46875x18] baseline: 13.796875
|
|
"b"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x316]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x300]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 200x300]
|
|
PaintableBox (Box<DIV>.table) [8,8 200x300]
|
|
PaintableBox (Box<DIV>.row.a) [8,8 200x100]
|
|
PaintableWithLines (BlockContainer<DIV>.cell) [8,8 200x100]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<DIV>.row.b) [8,108 200x200]
|
|
PaintableWithLines (BlockContainer<DIV>.cell) [8,108 200x200]
|
|
TextPaintable (TextNode<#text>)
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x316] [children: 0] (z-index: auto)
|