Files
ladybird/Tests/LibWeb/Layout/expected/abspos-relative-to-table-row.txt
Psychpsyo 5be1e9076a LibWeb: Fix crash when abspos element is relative to table row
This occured because the abspos containing block is in-between the
containing blocks of two regular ancestors in this case, so it was
being skipped. (The containing block of a table cell is the table
itself, not the table row.)
2025-12-17 11:59:46 +01:00

45 lines
3.0 KiB
Plaintext

Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 26 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 10 0+0+8] children: not-inline
TableWrapper <(anonymous)> at [8,8] [0+0+0 6 0+0+778] [0+0+0 10 0+0+0] [BFC] children: not-inline
Box <table> at [8,8] table-box [0+0+0 6 0+0+0] [0+0+0 10 0+0+0] [TFC] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
TextNode <#text> (not painted)
Box <tbody> at [10,10] table-row-group [0+0+0 2 0+0+0] [0+0+0 6 0+0+0] children: not-inline
Box <tr> at [10,10] table-row [0+0+0 2 0+0+0] [0+0+0 2 0+0+0] children: not-inline
BlockContainer <td> at [11,11] table-cell [0+0+1 0 1+0+0] [0+0+1 0 1+0+0] [BFC] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
Box <tr> at [10,14] positioned table-row [0+0+0 2 0+0+0] [0+0+0 2 0+0+0] children: not-inline
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <td> at [11,15] table-cell [0+0+1 0 1+0+0] [0+0+1 0 1+0+0] [BFC] children: not-inline
BlockContainer <div> at [13,21] positioned [0+0+0 70.5625 0+0+0] [0+0+0 18 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [13,21 70.5625x18] baseline: 13.796875
"ABSPOS"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,18] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x26] overflow: [0,0 800x39]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x10] overflow: [8,8 784x31]
PaintableWithLines (TableWrapper(anonymous)) [8,8 6x10] overflow: [8,8 75.5625x31]
PaintableBox (Box<TABLE>) [8,8 6x10]
PaintableBox (Box<TBODY>) [10,10 2x6]
PaintableBox (Box<TR>) [10,10 2x2]
PaintableWithLines (BlockContainer<TD>) [10,10 2x2]
PaintableBox (Box<TR>) [10,14 2x2] overflow: [10,14 73.5625x25]
PaintableWithLines (BlockContainer<TD>) [10,14 2x2]
PaintableWithLines (BlockContainer<DIV>) [13,21 70.5625x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [8,18 784x0]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x26] [children: 0] (z-index: auto)