ladybird/Tests/LibWeb/Layout/expected/table/cell-with-max-width.txt
Edward Banner 03569fc509 LibWeb: Fix table overflow issues
- Include vertical border spacing in row group offset calculation so
  that they are axis-aligned with child row/cell elements. This makes it
  so there isn't horizontal and vertical overflow caused by child
  row/cell elements.
- Include horizontal border spacing in tr width calculations. This makes
  it so tr elements don't have overflow anymore when there are multiple
  columns.
- Apply vertical caption offset to row group top offset.
- Don't double-count top padding when calculating vertical offset for
  tr and row groups.
2024-10-14 17:30:17 +01:00

37 lines
2.7 KiB
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x124 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x108 children: not-inline
TableWrapper <(anonymous)> at (8,8) content-size 276x108 [BFC] children: not-inline
Box <table> at (8,8) content-size 276x108 table-box [TFC] children: not-inline
Box <tbody> at (10,10) content-size 272x104 table-row-group children: not-inline
Box <tr> at (10,10) content-size 272x104 table-row children: not-inline
BlockContainer <td> at (11,11) content-size 270x102 table-cell [BFC] children: not-inline
BlockContainer <div> at (11,11) content-size 270x102 children: not-inline
BlockContainer <(anonymous)> at (11,11) content-size 270x102 children: inline
frag 0 from TextNode start: 1, length: 35, rect: [11,11 261.0625x17] baseline: 13.296875
"hello hello hello hello hello hello"
frag 1 from TextNode start: 37, length: 35, rect: [11,28 261.0625x17] baseline: 13.296875
"hello hello hello hello hello hello"
frag 2 from TextNode start: 73, length: 35, rect: [11,45 261.0625x17] baseline: 13.296875
"hello hello hello hello hello hello"
frag 3 from TextNode start: 109, length: 35, rect: [11,62 261.0625x17] baseline: 13.296875
"hello hello hello hello hello hello"
frag 4 from TextNode start: 145, length: 35, rect: [11,79 261.0625x17] baseline: 13.296875
"hello hello hello hello hello hello"
frag 5 from TextNode start: 181, length: 11, rect: [11,96 81.6875x17] baseline: 13.296875
"hello hello"
TextNode <#text>
BlockContainer <div> at (11,113) content-size 270x0 children: not-inline
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x124]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x108]
PaintableWithLines (TableWrapper(anonymous)) [8,8 276x108]
PaintableBox (Box<TABLE>) [8,8 276x108]
PaintableBox (Box<TBODY>) [10,10 272x104]
PaintableBox (Box<TR>) [10,10 272x104]
PaintableWithLines (BlockContainer<TD>) [10,10 272x104]
PaintableWithLines (BlockContainer<DIV>) [11,11 270x102]
PaintableWithLines (BlockContainer(anonymous)) [11,11 270x102]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>) [11,113 270x0]