diff --git a/Tests/LibWeb/Layout/expected/blockify-layout-internal-box-without-crashing.txt b/Tests/LibWeb/Layout/expected/blockify-layout-internal-box-without-crashing.txt index 11ee51d6961..315b98293a3 100644 --- a/Tests/LibWeb/Layout/expected/blockify-layout-internal-box-without-crashing.txt +++ b/Tests/LibWeb/Layout/expected/blockify-layout-internal-box-without-crashing.txt @@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,8) content-size 784x4 children: not-inline TableWrapper <(anonymous)> at (8,8) content-size 4x4 [BFC] children: not-inline Box at (8,8) content-size 4x4 table-box [TFC] children: not-inline - Box at (8,8) content-size 0x0 table-row-group children: not-inline + Box at (10,10) content-size 0x0 table-row-group children: not-inline Box at (10,10) content-size 0x0 table-row children: not-inline BlockContainer <(anonymous)> at (10,10) content-size 0x0 table-cell [BFC] children: not-inline BlockContainer
at (9,9) content-size 0x0 positioned [BFC] children: not-inline @@ -13,7 +13,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x4] PaintableWithLines (TableWrapper(anonymous)) [8,8 4x4] PaintableBox (Box) [8,8 4x4] - PaintableBox (Box) [8,8 0x0] overflow: [8,8 2x2] + PaintableBox (Box) [10,10 0x0] overflow: [8,8 2x2] PaintableBox (Box) [10,10 0x0] overflow: [8,8 2x2] PaintableWithLines (BlockContainer(anonymous)) [10,10 0x0] overflow: [8,8 2x2] PaintableWithLines (BlockContainer
) [8,8 2x2] diff --git a/Tests/LibWeb/Layout/expected/css-pseudo-element-should-not-be-affected-by-presentational-hints.txt b/Tests/LibWeb/Layout/expected/css-pseudo-element-should-not-be-affected-by-presentational-hints.txt index 8eee388733c..8f2783abf83 100644 --- a/Tests/LibWeb/Layout/expected/css-pseudo-element-should-not-be-affected-by-presentational-hints.txt +++ b/Tests/LibWeb/Layout/expected/css-pseudo-element-should-not-be-affected-by-presentational-hints.txt @@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (10,10) content-size 780x106 children: not-inline TableWrapper <(anonymous)> at (10,10) content-size 110x106 [BFC] children: not-inline Box at (11,11) content-size 108x104 table-box [TFC] children: not-inline - Box at (11,11) content-size 104x100 table-row-group children: not-inline + Box at (13,13) content-size 104x100 table-row-group children: not-inline Box at (13,13) content-size 104x100 table-row children: not-inline BlockContainer
at (15,62) content-size 100x2 table-cell [BFC] children: not-inline BlockContainer <(anonymous)> at (16,63) content-size 98x0 children: inline @@ -14,7 +14,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [9,9 782x108] PaintableWithLines (TableWrapper(anonymous)) [10,10 110x106] PaintableBox (Box) [10,10 110x106] - PaintableBox (Box) [11,11 104x100] overflow: [11,11 106x102] + PaintableBox (Box) [13,13 104x100] PaintableBox (Box) [13,13 104x100] PaintableWithLines (BlockContainer at (15.34375,9) content-size 148.796875x21 table-row-group children: not-inline - Box at (17.34375,11) content-size 148.796875x21 table-row children: not-inline + Box at (17.34375,11) content-size 150.796875x21 table-row-group children: not-inline + Box at (17.34375,11) content-size 150.796875x21 table-row children: not-inline BlockContainer
) [13,13 104x100] PaintableWithLines (BlockContainer(anonymous)) [15,62 100x2] diff --git a/Tests/LibWeb/Layout/expected/grid/floating-table-wrapper-width.txt b/Tests/LibWeb/Layout/expected/grid/floating-table-wrapper-width.txt index 643511283e3..65cc6ce1006 100644 --- a/Tests/LibWeb/Layout/expected/grid/floating-table-wrapper-width.txt +++ b/Tests/LibWeb/Layout/expected/grid/floating-table-wrapper-width.txt @@ -9,8 +9,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> TableWrapper <(anonymous)> at (14.34375,8) content-size 156.796875x27 floating [BFC] children: not-inline Box at (15.34375,9) content-size 154.796875x25 table-box [TFC] children: not-inline - Box
at (19.34375,13) content-size 69.59375x17 table-cell [BFC] children: inline frag 0 from TextNode start: 0, length: 1, rect: [19.34375,13 8.8125x17] baseline: 13.296875 "2" @@ -35,8 +35,8 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] TextPaintable (TextNode<#text>) PaintableWithLines (TableWrapper(anonymous)) [14.34375,8 156.796875x27] PaintableBox (Box.middle) [14.34375,8 156.796875x27] - PaintableBox (Box) [15.34375,9 148.796875x21] overflow: [15.34375,9 152.796875x23] - PaintableBox (Box) [17.34375,11 148.796875x21] overflow: [17.34375,11 150.796875x21] + PaintableBox (Box) [17.34375,11 150.796875x21] + PaintableBox (Box) [17.34375,11 150.796875x21] PaintableWithLines (BlockContainer
) [17.34375,11 73.59375x21] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [92.9375,11 75.203125x21] diff --git a/Tests/LibWeb/Layout/expected/table-fixup-with-rowspan.txt b/Tests/LibWeb/Layout/expected/table-fixup-with-rowspan.txt index 81549168aec..495c1392bee 100644 --- a/Tests/LibWeb/Layout/expected/table-fixup-with-rowspan.txt +++ b/Tests/LibWeb/Layout/expected/table-fixup-with-rowspan.txt @@ -3,8 +3,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,8) content-size 784x46 children: not-inline TableWrapper <(anonymous)> at (8,8) content-size 27.90625x46 [BFC] children: not-inline Box at (8,8) content-size 27.90625x46 table-box [TFC] children: not-inline - Box at (8,8) content-size 21.90625x38 table-row-group children: not-inline - Box at (10,10) content-size 21.90625x19 table-row children: not-inline + Box at (10,10) content-size 23.90625x42 table-row-group children: not-inline + Box at (10,10) content-size 23.90625x19 table-row children: not-inline BlockContainer at (10,31) content-size 21.90625x19 table-row children: not-inline + Box at (10,31) content-size 23.90625x19 table-row children: not-inline BlockContainer at (10,52) content-size 21.90625x0 table-row children: not-inline + Box at (10,52) content-size 23.90625x0 table-row children: not-inline BlockContainer <(anonymous)> at (10,52) content-size 11.09375x0 table-cell [BFC] children: not-inline BlockContainer <(anonymous)> at (8,54) content-size 784x0 children: inline TextNode <#text> @@ -28,15 +28,15 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x46] PaintableWithLines (TableWrapper(anonymous)) [8,8 27.90625x46] PaintableBox (Box
at (11,11) content-size 9.09375x17 table-cell [BFC] children: inline frag 0 from TextNode start: 0, length: 1, rect: [11,11 6.34375x17] baseline: 13.296875 "1" @@ -13,12 +13,12 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline frag 0 from TextNode start: 0, length: 1, rect: [24.09375,22.5 8.8125x17] baseline: 13.296875 "2" TextNode <#text> - Box
at (11,32) content-size 9.09375x17 table-cell [BFC] children: inline frag 0 from TextNode start: 0, length: 1, rect: [11,32 9.09375x17] baseline: 13.296875 "3" TextNode <#text> - Box
) [8,8 27.90625x46] - PaintableBox (Box) [8,8 21.90625x38] overflow: [8,8 25.90625x44] - PaintableBox (Box) [10,10 21.90625x19] overflow: [10,10 23.90625x42] + PaintableBox (Box) [10,10 23.90625x42] + PaintableBox (Box) [10,10 23.90625x19] overflow: [10,10 23.90625x42] PaintableWithLines (BlockContainer) [10,31 21.90625x19] + PaintableBox (Box) [10,31 23.90625x19] PaintableWithLines (BlockContainer) [10,52 21.90625x0] + PaintableBox (Box) [10,52 23.90625x0] PaintableWithLines (BlockContainer(anonymous)) [10,52 11.09375x0] PaintableWithLines (BlockContainer(anonymous)) [8,54 784x0] diff --git a/Tests/LibWeb/Layout/expected/table/abspos-pseudo-element-inside-table.txt b/Tests/LibWeb/Layout/expected/table/abspos-pseudo-element-inside-table.txt index 0d167dbccb5..9bae0a2789a 100644 --- a/Tests/LibWeb/Layout/expected/table/abspos-pseudo-element-inside-table.txt +++ b/Tests/LibWeb/Layout/expected/table/abspos-pseudo-element-inside-table.txt @@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,8) content-size 784x4 children: not-inline TableWrapper <(anonymous)> at (8,8) content-size 784x4 [BFC] children: not-inline Box
) [10,10 11.09375x19] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [23.09375,10 10.8125x42] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [10,31 11.09375x19] TextPaintable (TextNode<#text>) - PaintableBox (Box
at (8,8) content-size 784x4 table-box [TFC] children: not-inline - Box at (8,8) content-size 0x0 table-header-group children: not-inline + Box at (10,10) content-size 0x0 table-header-group children: not-inline Box at (10,10) content-size 0x0 table-row children: not-inline BlockContainer <(anonymous)> at (0,590) content-size 800x10 positioned [BFC] children: inline TextNode <#text> @@ -13,6 +13,6 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x4] overflow: [0,8 800x592] PaintableWithLines (TableWrapper(anonymous)) [8,8 784x4] overflow: [0,8 800x592] PaintableBox (Box
) [8,8 784x4] overflow: [0,8 800x592] - PaintableBox (Box) [8,8 0x0] overflow: [0,10 800x590] + PaintableBox (Box) [10,10 0x0] overflow: [0,10 800x590] PaintableBox (Box) [10,10 0x0] overflow: [0,590 800x10] PaintableWithLines (BlockContainer(anonymous)) [0,590 800x10] diff --git a/Tests/LibWeb/Layout/expected/table/avoid-div-by-zero-in-table-measures.txt b/Tests/LibWeb/Layout/expected/table/avoid-div-by-zero-in-table-measures.txt index 41890b801f6..f805b6fe6c4 100644 --- a/Tests/LibWeb/Layout/expected/table/avoid-div-by-zero-in-table-measures.txt +++ b/Tests/LibWeb/Layout/expected/table/avoid-div-by-zero-in-table-measures.txt @@ -5,10 +5,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box
at (8,8) content-size 6x23 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (8,8) content-size 0x19 table-row-group children: not-inline + Box at (10,10) content-size 2x19 table-row-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (10,10) content-size 0x19 table-row children: not-inline + Box at (10,10) content-size 2x19 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
at (11,11) content-size 0x17 table-cell [BFC] children: inline @@ -27,7 +27,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x23] PaintableWithLines (TableWrapper(anonymous)) [8,8 6x23] overflow: [8,8 17.265625x23] PaintableBox (Box) [8,8 6x23] overflow: [8,8 17.265625x23] - PaintableBox (Box) [8,8 0x19] overflow: [10,10 15.265625x20] - PaintableBox (Box) [10,10 0x19] overflow: [10,10 15.265625x20] + PaintableBox (Box) [10,10 2x19] overflow: [10,10 15.265625x20] + PaintableBox (Box) [10,10 2x19] overflow: [10,10 15.265625x20] PaintableWithLines (BlockContainer at (8,10) content-size 95.171875x19 table-header-group children: not-inline + Box at (10,29) content-size 95.171875x19 table-header-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> Box at (10,29) content-size 95.171875x19 table-row children: not-inline @@ -32,7 +32,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (8,29) content-size 95.171875x19 table-row-group children: not-inline + Box at (10,50) content-size 95.171875x19 table-row-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> Box at (10,50) content-size 95.171875x19 table-row children: not-inline @@ -48,7 +48,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (8,48) content-size 95.171875x19 table-footer-group children: not-inline + Box at (10,71) content-size 95.171875x19 table-footer-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> Box at (10,71) content-size 95.171875x19 table-row children: not-inline @@ -77,15 +77,15 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableBox (Box
) [10,10 2x19] overflow: [10,10 15.265625x20] TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/table/basic.txt b/Tests/LibWeb/Layout/expected/table/basic.txt index e08032efafd..bbbf0290c66 100644 --- a/Tests/LibWeb/Layout/expected/table/basic.txt +++ b/Tests/LibWeb/Layout/expected/table/basic.txt @@ -16,7 +16,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
#full-table) [8,27 99.171875x65] overflow: [8,10 99.171875x82] PaintableWithLines (BlockContainer) [8,10 95.171875x19] overflow: [8,10 97.171875x38] + PaintableBox (Box) [10,29 95.171875x19] PaintableBox (Box) [10,29 95.171875x19] PaintableWithLines (BlockContainer) [8,29 95.171875x19] overflow: [8,29 97.171875x40] + PaintableBox (Box) [10,50 95.171875x19] PaintableBox (Box) [10,50 95.171875x19] PaintableWithLines (BlockContainer) [8,48 95.171875x19] overflow: [8,48 97.171875x42] + PaintableBox (Box) [10,71 95.171875x19] PaintableBox (Box) [10,71 95.171875x19] PaintableWithLines (BlockContainer
) [8,10 82.734375x17] overflow: [8,10 90.734375x17] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [10,29 95.171875x19] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [10,50 95.171875x19] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [10,71 95.171875x19] TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/table/border-attribute-overridden-by-css.txt b/Tests/LibWeb/Layout/expected/table/border-attribute-overridden-by-css.txt index 2b579b37b51..d403ac5eac5 100644 --- a/Tests/LibWeb/Layout/expected/table/border-attribute-overridden-by-css.txt +++ b/Tests/LibWeb/Layout/expected/table/border-attribute-overridden-by-css.txt @@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,8) content-size 784x45 children: not-inline TableWrapper <(anonymous)> at (8,8) content-size 42.265625x45 [BFC] children: not-inline Box at (18,18) content-size 22.265625x25 table-box [TFC] children: not-inline - Box at (18,18) content-size 18.265625x21 table-row-group children: not-inline + Box at (20,20) content-size 18.265625x21 table-row-group children: not-inline Box at (20,20) content-size 18.265625x21 table-row children: not-inline BlockContainer
at (22,22) content-size 14.265625x17 table-cell [BFC] children: inline frag 0 from TextNode start: 0, length: 1, rect: [22,22 14.265625x17] baseline: 13.296875 @@ -15,7 +15,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x45] PaintableWithLines (TableWrapper(anonymous)) [8,8 42.265625x45] PaintableBox (Box) [8,8 42.265625x45] - PaintableBox (Box) [18,18 18.265625x21] overflow: [18,18 20.265625x23] + PaintableBox (Box) [20,20 18.265625x21] PaintableBox (Box) [20,20 18.265625x21] PaintableWithLines (BlockContainer
) [20,20 18.265625x21] TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/table/border-attribute.txt b/Tests/LibWeb/Layout/expected/table/border-attribute.txt index 5ed5790dd25..e29f98de388 100644 --- a/Tests/LibWeb/Layout/expected/table/border-attribute.txt +++ b/Tests/LibWeb/Layout/expected/table/border-attribute.txt @@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,8) content-size 784x35 children: not-inline TableWrapper <(anonymous)> at (8,8) content-size 32.265625x35 [BFC] children: not-inline Box at (13,13) content-size 22.265625x25 table-box [TFC] children: not-inline - Box at (13,13) content-size 18.265625x21 table-row-group children: not-inline + Box at (15,15) content-size 18.265625x21 table-row-group children: not-inline Box at (15,15) content-size 18.265625x21 table-row children: not-inline BlockContainer
at (17,17) content-size 14.265625x17 table-cell [BFC] children: inline frag 0 from TextNode start: 0, length: 1, rect: [17,17 14.265625x17] baseline: 13.296875 @@ -15,7 +15,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x35] PaintableWithLines (TableWrapper(anonymous)) [8,8 32.265625x35] PaintableBox (Box) [8,8 32.265625x35] - PaintableBox (Box) [13,13 18.265625x21] overflow: [13,13 20.265625x23] + PaintableBox (Box) [15,15 18.265625x21] PaintableBox (Box) [15,15 18.265625x21] PaintableWithLines (BlockContainer
) [15,15 18.265625x21] TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/table/border-spacing-and-borders-table-width.txt b/Tests/LibWeb/Layout/expected/table/border-spacing-and-borders-table-width.txt index 51b48043fb9..b40f081648b 100644 --- a/Tests/LibWeb/Layout/expected/table/border-spacing-and-borders-table-width.txt +++ b/Tests/LibWeb/Layout/expected/table/border-spacing-and-borders-table-width.txt @@ -5,8 +5,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (23,13) content-size 113.609375x67 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (23,13) content-size 83.609375x47 table-row-group children: not-inline - Box at (33,23) content-size 83.609375x47 table-row children: not-inline + Box at (33,23) content-size 93.609375x47 table-row-group children: not-inline + Box at (33,23) content-size 93.609375x47 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
at (48,38) content-size 14.265625x17 table-cell [BFC] children: inline @@ -29,8 +29,8 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x77] PaintableWithLines (TableWrapper(anonymous)) [8,8 143.609375x77] PaintableBox (Box) [8,8 143.609375x77] - PaintableBox (Box) [23,13 83.609375x47] overflow: [23,13 103.609375x57] - PaintableBox (Box) [33,23 83.609375x47] overflow: [33,23 93.609375x47] + PaintableBox (Box) [33,23 93.609375x47] + PaintableBox (Box) [33,23 93.609375x47] PaintableWithLines (BlockContainer
) [33,23 44.265625x47] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [87.265625,23 39.34375x47] diff --git a/Tests/LibWeb/Layout/expected/table/border-spacing-colspan.txt b/Tests/LibWeb/Layout/expected/table/border-spacing-colspan.txt index 41a21382900..45d1af68c13 100644 --- a/Tests/LibWeb/Layout/expected/table/border-spacing-colspan.txt +++ b/Tests/LibWeb/Layout/expected/table/border-spacing-colspan.txt @@ -9,10 +9,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (9,9) content-size 241.90625x255 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (9,9) content-size 161.90625x195 table-row-group children: not-inline + Box at (29,19) content-size 201.90625x235 table-row-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (29,19) content-size 161.90625x39 table-row children: not-inline + Box at (29,19) content-size 201.90625x39 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (29,68) content-size 161.90625x39 table-row children: not-inline + Box at (29,68) content-size 201.90625x39 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (29,117) content-size 161.90625x39 table-row children: not-inline + Box at (29,117) content-size 201.90625x39 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (29,166) content-size 161.90625x39 table-row children: not-inline + Box at (29,166) content-size 201.90625x39 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (29,215) content-size 161.90625x39 table-row children: not-inline + Box at (29,215) content-size 201.90625x39 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
at (50,30) content-size 14.265625x17 table-cell [BFC] children: inline @@ -35,7 +35,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (50,79) content-size 88.8125x17 table-cell [BFC] children: inline @@ -52,7 +52,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (50,128) content-size 14.265625x17 table-cell [BFC] children: inline @@ -75,7 +75,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (50,177) content-size 14.265625x17 table-cell [BFC] children: inline @@ -98,7 +98,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (50,226) content-size 14.265625x17 table-cell [BFC] children: inline @@ -133,34 +133,34 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0] PaintableWithLines (TableWrapper(anonymous)) [8,8 243.90625x257] PaintableBox (Box) [8,8 243.90625x257] - PaintableBox (Box) [9,9 161.90625x195] overflow: [9,9 221.90625x245] - PaintableBox (Box) [29,19 161.90625x39] overflow: [29,19 201.90625x39] + PaintableBox (Box) [29,19 201.90625x235] + PaintableBox (Box) [29,19 201.90625x39] PaintableWithLines (BlockContainer) [29,68 161.90625x39] overflow: [29,68 201.90625x39] + PaintableBox (Box) [29,68 201.90625x39] PaintableWithLines (BlockContainer) [29,117 161.90625x39] overflow: [29,117 201.90625x39] + PaintableBox (Box) [29,117 201.90625x39] PaintableWithLines (BlockContainer) [29,166 161.90625x39] overflow: [29,166 201.90625x39] + PaintableBox (Box) [29,166 201.90625x39] PaintableWithLines (BlockContainer) [29,215 161.90625x39] overflow: [29,215 201.90625x39] + PaintableBox (Box) [29,215 201.90625x39] PaintableWithLines (BlockContainer
) [29,19 56.265625x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [105.265625,19 54.546875x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [179.8125,19 51.09375x39] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [29,68 130.8125x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [179.8125,68 51.09375x39] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [29,117 56.265625x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [105.265625,117 54.546875x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [179.8125,117 51.09375x39] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [29,166 56.265625x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [105.265625,166 54.546875x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [179.8125,166 51.09375x39] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [29,215 56.265625x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [105.265625,215 54.546875x39] diff --git a/Tests/LibWeb/Layout/expected/table/border-spacing-rowspan.txt b/Tests/LibWeb/Layout/expected/table/border-spacing-rowspan.txt index dc00272230d..7f27bc8de6e 100644 --- a/Tests/LibWeb/Layout/expected/table/border-spacing-rowspan.txt +++ b/Tests/LibWeb/Layout/expected/table/border-spacing-rowspan.txt @@ -9,10 +9,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (9,9) content-size 241.90625x255 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (9,9) content-size 161.90625x195 table-row-group children: not-inline + Box at (29,19) content-size 201.90625x235 table-row-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (29,19) content-size 161.90625x39 table-row children: not-inline + Box at (29,19) content-size 201.90625x39 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (29,68) content-size 161.90625x39 table-row children: not-inline + Box at (29,68) content-size 201.90625x39 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (29,117) content-size 161.90625x39 table-row children: not-inline + Box at (29,117) content-size 201.90625x39 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (29,166) content-size 161.90625x39 table-row children: not-inline + Box at (29,166) content-size 201.90625x39 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (29,215) content-size 161.90625x39 table-row children: not-inline + Box at (29,215) content-size 201.90625x39 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
at (50,54.5) content-size 14.265625x17 table-cell [BFC] children: inline @@ -35,7 +35,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (126.265625,79) content-size 12.546875x17 table-cell [BFC] children: inline @@ -52,7 +52,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (50,128) content-size 14.265625x17 table-cell [BFC] children: inline @@ -75,7 +75,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (50,177) content-size 14.265625x17 table-cell [BFC] children: inline @@ -98,7 +98,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (50,226) content-size 14.265625x17 table-cell [BFC] children: inline @@ -133,34 +133,34 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0] PaintableWithLines (TableWrapper(anonymous)) [8,8 243.90625x257] PaintableBox (Box) [8,8 243.90625x257] - PaintableBox (Box) [9,9 161.90625x195] overflow: [9,9 221.90625x245] - PaintableBox (Box) [29,19 161.90625x39] overflow: [29,19 201.90625x88] + PaintableBox (Box) [29,19 201.90625x235] + PaintableBox (Box) [29,19 201.90625x39] overflow: [29,19 201.90625x88] PaintableWithLines (BlockContainer) [29,68 161.90625x39] overflow: [29,68 201.90625x39] + PaintableBox (Box) [29,68 201.90625x39] PaintableWithLines (BlockContainer) [29,117 161.90625x39] overflow: [29,117 201.90625x39] + PaintableBox (Box) [29,117 201.90625x39] PaintableWithLines (BlockContainer) [29,166 161.90625x39] overflow: [29,166 201.90625x39] + PaintableBox (Box) [29,166 201.90625x39] PaintableWithLines (BlockContainer) [29,215 161.90625x39] overflow: [29,215 201.90625x39] + PaintableBox (Box) [29,215 201.90625x39] PaintableWithLines (BlockContainer at (125.59375,8) content-size 474.234375x19 table-row-group children: not-inline + Box at (127.59375,10) content-size 474.234375x19 table-row-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> Box at (127.59375,10) content-size 474.234375x19 table-row children: not-inline @@ -39,7 +39,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] TextPaintable (TextNode<#text>) PaintableWithLines (TableWrapper(anonymous)) [125.59375,8 478.234375x23] PaintableBox (Box
) [29,19 56.265625x88] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [105.265625,19 54.546875x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [179.8125,19 51.09375x39] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [105.265625,68 54.546875x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [179.8125,68 51.09375x39] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [29,117 56.265625x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [105.265625,117 54.546875x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [179.8125,117 51.09375x39] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [29,166 56.265625x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [105.265625,166 54.546875x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [179.8125,166 51.09375x39] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [29,215 56.265625x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [105.265625,215 54.546875x39] diff --git a/Tests/LibWeb/Layout/expected/table/border-spacing-with-percentage-width.txt b/Tests/LibWeb/Layout/expected/table/border-spacing-with-percentage-width.txt index 9f175c10852..7a34f8e123e 100644 --- a/Tests/LibWeb/Layout/expected/table/border-spacing-with-percentage-width.txt +++ b/Tests/LibWeb/Layout/expected/table/border-spacing-with-percentage-width.txt @@ -10,7 +10,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (125.59375,8) content-size 478.234375x23 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
.middle) [125.59375,8 478.234375x23] - PaintableBox (Box) [125.59375,8 474.234375x19] overflow: [125.59375,8 476.234375x21] + PaintableBox (Box) [127.59375,10 474.234375x19] PaintableBox (Box) [127.59375,10 474.234375x19] PaintableWithLines (BlockContainer
) [127.59375,10 474.234375x19] TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/table/border-spacing.txt b/Tests/LibWeb/Layout/expected/table/border-spacing.txt index e0877784d60..8be18ee0316 100644 --- a/Tests/LibWeb/Layout/expected/table/border-spacing.txt +++ b/Tests/LibWeb/Layout/expected/table/border-spacing.txt @@ -9,10 +9,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (9,9) content-size 241.90625x255 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (9,9) content-size 161.90625x195 table-row-group children: not-inline + Box at (29,19) content-size 201.90625x235 table-row-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (29,19) content-size 161.90625x39 table-row children: not-inline + Box at (29,19) content-size 201.90625x39 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (29,68) content-size 161.90625x39 table-row children: not-inline + Box at (29,68) content-size 201.90625x39 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (29,117) content-size 161.90625x39 table-row children: not-inline + Box at (29,117) content-size 201.90625x39 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (29,166) content-size 161.90625x39 table-row children: not-inline + Box at (29,166) content-size 201.90625x39 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (29,215) content-size 161.90625x39 table-row children: not-inline + Box at (29,215) content-size 201.90625x39 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
at (50,30) content-size 14.265625x17 table-cell [BFC] children: inline @@ -35,7 +35,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (50,79) content-size 14.265625x17 table-cell [BFC] children: inline @@ -58,7 +58,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (50,128) content-size 14.265625x17 table-cell [BFC] children: inline @@ -81,7 +81,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (50,177) content-size 14.265625x17 table-cell [BFC] children: inline @@ -104,7 +104,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (50,226) content-size 14.265625x17 table-cell [BFC] children: inline @@ -139,36 +139,36 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0] PaintableWithLines (TableWrapper(anonymous)) [8,8 243.90625x257] PaintableBox (Box) [8,8 243.90625x257] - PaintableBox (Box) [9,9 161.90625x195] overflow: [9,9 221.90625x245] - PaintableBox (Box) [29,19 161.90625x39] overflow: [29,19 201.90625x39] + PaintableBox (Box) [29,19 201.90625x235] + PaintableBox (Box) [29,19 201.90625x39] PaintableWithLines (BlockContainer) [29,68 161.90625x39] overflow: [29,68 201.90625x39] + PaintableBox (Box) [29,68 201.90625x39] PaintableWithLines (BlockContainer) [29,117 161.90625x39] overflow: [29,117 201.90625x39] + PaintableBox (Box) [29,117 201.90625x39] PaintableWithLines (BlockContainer) [29,166 161.90625x39] overflow: [29,166 201.90625x39] + PaintableBox (Box) [29,166 201.90625x39] PaintableWithLines (BlockContainer) [29,215 161.90625x39] overflow: [29,215 201.90625x39] + PaintableBox (Box) [29,215 201.90625x39] PaintableWithLines (BlockContainer at (9,9) content-size 166.296875x63 table-row-group children: not-inline - Box at (11,11) content-size 166.296875x21 table-row children: not-inline + Box at (11,11) content-size 168.296875x67 table-row-group children: not-inline + Box at (11,11) content-size 168.296875x21 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (11,34) content-size 166.296875x21 table-row children: not-inline + Box at (11,34) content-size 168.296875x21 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (11,57) content-size 166.296875x21 table-row children: not-inline + Box at (11,57) content-size 168.296875x21 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
) [29,19 56.265625x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [105.265625,19 54.546875x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [179.8125,19 51.09375x39] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [29,68 56.265625x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [105.265625,68 54.546875x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [179.8125,68 51.09375x39] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [29,117 56.265625x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [105.265625,117 54.546875x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [179.8125,117 51.09375x39] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [29,166 56.265625x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [105.265625,166 54.546875x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [179.8125,166 51.09375x39] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [29,215 56.265625x39] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [105.265625,215 54.546875x39] diff --git a/Tests/LibWeb/Layout/expected/table/borders.txt b/Tests/LibWeb/Layout/expected/table/borders.txt index 313f1811234..4446c2bdcab 100644 --- a/Tests/LibWeb/Layout/expected/table/borders.txt +++ b/Tests/LibWeb/Layout/expected/table/borders.txt @@ -5,8 +5,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (9,9) content-size 172.296875x71 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (13,13) content-size 82.015625x17 table-cell [BFC] children: inline @@ -23,7 +23,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (13,36) content-size 82.015625x17 table-cell [BFC] children: inline @@ -40,7 +40,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (13,59) content-size 82.015625x17 table-cell [BFC] children: inline @@ -240,18 +240,18 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x260] PaintableWithLines (TableWrapper(anonymous)) [8,8 174.296875x73] PaintableBox (Box.table-border-black) [8,8 174.296875x73] - PaintableBox (Box) [9,9 166.296875x63] overflow: [9,9 170.296875x69] - PaintableBox (Box) [11,11 166.296875x21] overflow: [11,11 168.296875x21] + PaintableBox (Box) [11,11 168.296875x67] + PaintableBox (Box) [11,11 168.296875x21] PaintableWithLines (BlockContainer) [11,34 166.296875x21] overflow: [11,34 168.296875x21] + PaintableBox (Box) [11,34 168.296875x21] PaintableWithLines (BlockContainer) [11,57 166.296875x21] overflow: [11,57 168.296875x21] + PaintableBox (Box) [11,57 168.296875x21] PaintableWithLines (BlockContainer at (8,8) content-size 95.171875x19 table-header-group children: not-inline + Box at (10,10) content-size 95.171875x19 table-header-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> Box at (10,10) content-size 95.171875x19 table-row children: not-inline @@ -29,7 +29,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (8,27) content-size 95.171875x19 table-row-group children: not-inline + Box at (10,31) content-size 95.171875x19 table-row-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> Box at (10,31) content-size 95.171875x19 table-row children: not-inline @@ -45,7 +45,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (8,46) content-size 95.171875x19 table-footer-group children: not-inline + Box at (10,52) content-size 95.171875x19 table-footer-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> Box at (10,52) content-size 95.171875x19 table-row children: not-inline @@ -72,15 +72,15 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableBox (Box
) [11,11 86.015625x21] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [99.015625,11 80.28125x21] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [11,34 86.015625x21] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [99.015625,34 80.28125x21] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [11,57 86.015625x21] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [99.015625,57 80.28125x21] diff --git a/Tests/LibWeb/Layout/expected/table/bottom-caption.txt b/Tests/LibWeb/Layout/expected/table/bottom-caption.txt index e05db5877e0..bef6add7d59 100644 --- a/Tests/LibWeb/Layout/expected/table/bottom-caption.txt +++ b/Tests/LibWeb/Layout/expected/table/bottom-caption.txt @@ -13,7 +13,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
#full-table) [8,8 99.171875x65] overflow: [8,8 99.171875x82] PaintableWithLines (BlockContainer) [8,8 95.171875x19] overflow: [8,8 97.171875x21] + PaintableBox (Box) [10,10 95.171875x19] PaintableBox (Box) [10,10 95.171875x19] PaintableWithLines (BlockContainer) [8,27 95.171875x19] overflow: [8,27 97.171875x23] + PaintableBox (Box) [10,31 95.171875x19] PaintableBox (Box) [10,31 95.171875x19] PaintableWithLines (BlockContainer) [8,46 95.171875x19] overflow: [8,46 97.171875x25] + PaintableBox (Box) [10,52 95.171875x19] PaintableBox (Box) [10,52 95.171875x19] PaintableWithLines (BlockContainer at (8,8) content-size 72x19 table-row-group children: not-inline + Box at (10,10) content-size 76x19 table-row-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (10,10) content-size 72x19 table-row children: not-inline + Box at (10,10) content-size 76x19 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
) [8,73 82.734375x17] overflow: [8,73 90.734375x17] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [10,10 95.171875x19] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [10,31 95.171875x19] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [10,52 95.171875x19] TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/table/cell-auto-max-width-table-percentage-width.txt b/Tests/LibWeb/Layout/expected/table/cell-auto-max-width-table-percentage-width.txt index 710e00d245e..ee29e19dccd 100644 --- a/Tests/LibWeb/Layout/expected/table/cell-auto-max-width-table-percentage-width.txt +++ b/Tests/LibWeb/Layout/expected/table/cell-auto-max-width-table-percentage-width.txt @@ -8,10 +8,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (8,8) content-size 80x23 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (11,11) content-size 17.828125x17 table-cell [BFC] children: inline @@ -46,8 +46,8 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer(anonymous)) [8,8 80x0] PaintableWithLines (TableWrapper(anonymous)) [8,8 80x23] PaintableBox (Box#table) [8,8 80x23] - PaintableBox (Box) [8,8 72x19] overflow: [8,8 78x21] - PaintableBox (Box) [10,10 72x19] overflow: [10,10 76x19] + PaintableBox (Box) [10,10 76x19] + PaintableBox (Box) [10,10 76x19] PaintableWithLines (BlockContainer
) [10,10 19.828125x19] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [31.828125,10 13.828125x19] diff --git a/Tests/LibWeb/Layout/expected/table/cell-relative-to-specified-table-width.txt b/Tests/LibWeb/Layout/expected/table/cell-relative-to-specified-table-width.txt index bac20249e63..946e86b6077 100644 --- a/Tests/LibWeb/Layout/expected/table/cell-relative-to-specified-table-width.txt +++ b/Tests/LibWeb/Layout/expected/table/cell-relative-to-specified-table-width.txt @@ -5,10 +5,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (8,8) content-size 784x44 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (8,8) content-size 776x38 table-row-group children: not-inline + Box at (10,10) content-size 780x40 table-row-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (10,10) content-size 776x19 table-row children: not-inline + Box at (10,10) content-size 780x19 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (10,31) content-size 776x19 table-row children: not-inline + Box at (10,31) content-size 780x19 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
at (11,11) content-size 300.640625x17 table-cell [BFC] children: inline @@ -31,7 +31,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (11,32) content-size 300.640625x17 table-cell [BFC] children: inline @@ -62,15 +62,15 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x44] PaintableWithLines (TableWrapper(anonymous)) [8,8 784x44] PaintableBox (Box) [8,8 784x44] - PaintableBox (Box) [8,8 776x38] overflow: [8,8 782x42] - PaintableBox (Box) [10,10 776x19] overflow: [10,10 780x19] + PaintableBox (Box) [10,10 780x40] + PaintableBox (Box) [10,10 780x19] PaintableWithLines (BlockContainer) [10,31 776x19] overflow: [10,31 780x19] + PaintableBox (Box) [10,31 780x19] PaintableWithLines (BlockContainer
) [10,10 302.640625x19] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [314.640625,10 170.71875x19] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [487.359375,10 302.640625x19] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [10,31 302.640625x19] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [314.640625,31 170.71875x19] diff --git a/Tests/LibWeb/Layout/expected/table/cell-with-max-width.txt b/Tests/LibWeb/Layout/expected/table/cell-with-max-width.txt index 7daef9d1eb2..632be69e43e 100644 --- a/Tests/LibWeb/Layout/expected/table/cell-with-max-width.txt +++ b/Tests/LibWeb/Layout/expected/table/cell-with-max-width.txt @@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,8) content-size 784x108 children: not-inline TableWrapper <(anonymous)> at (8,8) content-size 276x108 [BFC] children: not-inline Box at (8,8) content-size 276x108 table-box [TFC] children: not-inline - Box at (8,8) content-size 272x104 table-row-group children: not-inline + Box at (10,10) content-size 272x104 table-row-group children: not-inline Box at (10,10) content-size 272x104 table-row children: not-inline BlockContainer
at (11,11) content-size 270x102 table-cell [BFC] children: not-inline BlockContainer
at (11,11) content-size 270x102 children: not-inline @@ -28,7 +28,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x108] PaintableWithLines (TableWrapper(anonymous)) [8,8 276x108] PaintableBox (Box) [8,8 276x108] - PaintableBox (Box) [8,8 272x104] overflow: [8,8 274x106] + PaintableBox (Box) [10,10 272x104] PaintableBox (Box) [10,10 272x104] PaintableWithLines (BlockContainer(not painted) children: not-inline BlockContainer (not painted) children: not-inline - Box at (8,8) content-size 0x0 table-row-group children: not-inline + Box at (10,10) content-size 0x0 table-row-group children: not-inline ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x2] PaintableWithLines (TableWrapper(anonymous)) [8,8 46x2] PaintableBox (Box
) [10,10 272x104] PaintableWithLines (BlockContainer
) [11,11 270x102] diff --git a/Tests/LibWeb/Layout/expected/table/colgroup-with-two-cols.txt b/Tests/LibWeb/Layout/expected/table/colgroup-with-two-cols.txt index 00eb5d5b57d..ea7e4ff3dc3 100644 --- a/Tests/LibWeb/Layout/expected/table/colgroup-with-two-cols.txt +++ b/Tests/LibWeb/Layout/expected/table/colgroup-with-two-cols.txt @@ -6,11 +6,11 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer (not painted) table-column-group children: not-inline BlockContainer
) [8,8 46x2] - PaintableBox (Box) [8,8 0x0] + PaintableBox (Box) [10,10 0x0] diff --git a/Tests/LibWeb/Layout/expected/table/columns-width-distribution-1.txt b/Tests/LibWeb/Layout/expected/table/columns-width-distribution-1.txt index 0e5a823b54a..020677a6888 100644 --- a/Tests/LibWeb/Layout/expected/table/columns-width-distribution-1.txt +++ b/Tests/LibWeb/Layout/expected/table/columns-width-distribution-1.txt @@ -5,8 +5,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (9,9) content-size 782x108 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (9,9) content-size 776x104 table-row-group children: not-inline - Box at (11,11) content-size 776x104 table-row children: not-inline + Box at (11,11) content-size 778x104 table-row-group children: not-inline + Box at (11,11) content-size 778x104 table-row children: not-inline BlockContainer at (12,38) content-size 50x50 table-cell [BFC] children: not-inline BlockContainer at (12,38) content-size 50x50 children: not-inline BlockContainer at (66,12) content-size 722x102 table-cell [BFC] children: inline @@ -29,8 +29,8 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x110] PaintableWithLines (TableWrapper(anonymous)) [8,8 784x110] PaintableBox (Box
.ambox) [8,8 784x110] - PaintableBox (Box) [9,9 776x104] overflow: [9,9 780x106] - PaintableBox (Box) [11,11 776x104] overflow: [11,11 778x104] + PaintableBox (Box) [11,11 778x104] + PaintableBox (Box) [11,11 778x104] PaintableWithLines (BlockContainer
.mbox-image) [11,11 52x104] PaintableWithLines (BlockContainer
.mbox-image-div) [12,38 50x50] PaintableWithLines (BlockContainer
.mbox-text) [65,11 724x104] diff --git a/Tests/LibWeb/Layout/expected/table/inline-table-width.txt b/Tests/LibWeb/Layout/expected/table/inline-table-width.txt index 0a24abc12e6..b8172488458 100644 --- a/Tests/LibWeb/Layout/expected/table/inline-table-width.txt +++ b/Tests/LibWeb/Layout/expected/table/inline-table-width.txt @@ -5,8 +5,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (9,9) content-size 135.984375x44 inline-block [BFC] children: not-inline TableWrapper <(anonymous)> at (9,9) content-size 135.984375x44 inline-block [BFC] children: not-inline Box <(anonymous)> at (9,9) content-size 135.984375x44 inline-table table-box [TFC] children: not-inline - Box at (9,9) content-size 129.984375x38 table-row-group children: not-inline - Box at (11,11) content-size 129.984375x19 table-row children: not-inline + Box at (11,11) content-size 131.984375x40 table-row-group children: not-inline + Box at (11,11) content-size 131.984375x19 table-row children: not-inline BlockContainer at (11,32) content-size 129.984375x19 table-row children: not-inline + Box at (11,32) content-size 131.984375x19 table-row children: not-inline BlockContainer
at (12,12) content-size 87.90625x17 table-cell [BFC] children: inline frag 0 from TextNode start: 0, length: 2, rect: [12,12 15.734375x17] baseline: 13.296875 "ID" @@ -15,7 +15,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline frag 0 from TextNode start: 0, length: 4, rect: [103.90625,12 27.84375x17] baseline: 13.296875 "null" TextNode <#text> - Box
at (12,33) content-size 87.90625x17 table-cell [BFC] children: inline frag 0 from TextNode start: 0, length: 11, rect: [12,33 87.90625x17] baseline: 13.296875 "Is Selected" @@ -31,13 +31,13 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 137.984375x46] PaintableWithLines (TableWrapper(anonymous)) [9,9 135.984375x44] PaintableBox (Box(anonymous)) [9,9 135.984375x44] - PaintableBox (Box) [9,9 129.984375x38] overflow: [9,9 133.984375x42] - PaintableBox (Box) [11,11 129.984375x19] overflow: [11,11 131.984375x19] + PaintableBox (Box) [11,11 131.984375x40] + PaintableBox (Box) [11,11 131.984375x19] PaintableWithLines (BlockContainer) [11,32 129.984375x19] overflow: [11,32 131.984375x19] + PaintableBox (Box) [11,32 131.984375x19] PaintableWithLines (BlockContainer
) [11,11 89.90625x19] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [102.90625,11 40.078125x19] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [11,32 89.90625x19] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [102.90625,32 40.078125x19] diff --git a/Tests/LibWeb/Layout/expected/table/internal-alignment.txt b/Tests/LibWeb/Layout/expected/table/internal-alignment.txt index bddb5d2204f..692dd350743 100644 --- a/Tests/LibWeb/Layout/expected/table/internal-alignment.txt +++ b/Tests/LibWeb/Layout/expected/table/internal-alignment.txt @@ -4,7 +4,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer
at (8,8) content-size 784x204 children: not-inline TableWrapper <(anonymous)> at (300,8) content-size 200x204 [BFC] children: not-inline Box at (301,9) content-size 198x202 table-box [TFC] children: not-inline - Box at (301,9) content-size 194x198 table-row-group children: not-inline + Box at (303,11) content-size 194x198 table-row-group children: not-inline Box at (303,11) content-size 194x198 table-row children: not-inline BlockContainer
at (304,85.5) content-size 192x49 table-cell [BFC] children: not-inline BlockContainer

at (304,101.5) content-size 192x17 children: inline @@ -18,7 +18,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer

) [8,8 784x204] PaintableWithLines (TableWrapper(anonymous)) [300,8 200x204] PaintableBox (Box) [300,8 200x204] - PaintableBox (Box) [301,9 194x198] overflow: [301,9 196x200] + PaintableBox (Box) [303,11 194x198] PaintableBox (Box) [303,11 194x198] PaintableWithLines (BlockContainer
) [303,11 194x198] PaintableWithLines (BlockContainer

) [304,101.5 192x17] diff --git a/Tests/LibWeb/Layout/expected/table/keyword-value-does-not-constrain-column.txt b/Tests/LibWeb/Layout/expected/table/keyword-value-does-not-constrain-column.txt index 95b6b4cade0..350acdbed63 100644 --- a/Tests/LibWeb/Layout/expected/table/keyword-value-does-not-constrain-column.txt +++ b/Tests/LibWeb/Layout/expected/table/keyword-value-does-not-constrain-column.txt @@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,8) content-size 784x23 children: not-inline TableWrapper <(anonymous)> at (8,8) content-size 37.609375x23 [BFC] children: not-inline Box at (8,8) content-size 37.609375x23 table-box [TFC] children: not-inline - Box at (8,8) content-size 33.609375x19 table-row-group children: not-inline + Box at (10,10) content-size 33.609375x19 table-row-group children: not-inline Box at (10,10) content-size 33.609375x19 table-row children: not-inline BlockContainer at (11,11) content-size 31.609375x17 table-cell [BFC] children: inline frag 0 from TextNode start: 0, length: 3, rect: [11,11 31.609375x17] baseline: 13.296875 @@ -17,7 +17,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x23] PaintableWithLines (TableWrapper(anonymous)) [8,8 37.609375x23] PaintableBox (Box
) [8,8 37.609375x23] - PaintableBox (Box) [8,8 33.609375x19] overflow: [8,8 35.609375x21] + PaintableBox (Box) [10,10 33.609375x19] PaintableBox (Box) [10,10 33.609375x19] PaintableWithLines (BlockContainer at (10,10) content-size 53.046875x21 table-header-group children: not-inline + Box at (12,44) content-size 55.046875x21 table-header-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (12,44) content-size 53.046875x21 table-row children: not-inline + Box at (12,44) content-size 55.046875x21 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (10,31) content-size 53.046875x21 table-row-group children: not-inline + Box at (12,67) content-size 55.046875x21 table-row-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (12,67) content-size 53.046875x21 table-row children: not-inline + Box at (12,67) content-size 55.046875x21 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (10,52) content-size 53.046875x21 table-footer-group children: not-inline + Box at (12,90) content-size 55.046875x21 table-footer-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (12,90) content-size 53.046875x21 table-row children: not-inline + Box at (12,90) content-size 55.046875x21 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
.ab) [10,10 33.609375x19] TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/table/long-caption-increases-width.txt b/Tests/LibWeb/Layout/expected/table/long-caption-increases-width.txt index 8fd282901b3..9425eb27fee 100644 --- a/Tests/LibWeb/Layout/expected/table/long-caption-increases-width.txt +++ b/Tests/LibWeb/Layout/expected/table/long-caption-increases-width.txt @@ -15,10 +15,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (14,46) content-size 21.25x17 table-cell [BFC] children: inline @@ -37,10 +37,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (14,69) content-size 21.25x17 table-cell [BFC] children: inline @@ -59,10 +59,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (14,92) content-size 21.25x17 table-cell [BFC] children: inline @@ -92,20 +92,20 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableBox (Box#full-table) [8,40 63.046875x75] overflow: [8,8 61.046875x105] PaintableWithLines (BlockContainer) [10,10 53.046875x21] overflow: [10,10 57.046875x55] - PaintableBox (Box) [12,44 53.046875x21] overflow: [12,44 55.046875x21] + PaintableBox (Box) [12,44 55.046875x21] + PaintableBox (Box) [12,44 55.046875x21] PaintableWithLines (BlockContainer) [10,31 53.046875x21] overflow: [10,31 57.046875x57] - PaintableBox (Box) [12,67 53.046875x21] overflow: [12,67 55.046875x21] + PaintableBox (Box) [12,67 55.046875x21] + PaintableBox (Box) [12,67 55.046875x21] PaintableWithLines (BlockContainer) [10,52 53.046875x21] overflow: [10,52 57.046875x59] - PaintableBox (Box) [12,90 53.046875x21] overflow: [12,90 55.046875x21] + PaintableBox (Box) [12,90 55.046875x21] + PaintableBox (Box) [12,90 55.046875x21] PaintableWithLines (BlockContainer
) [8,8 59.046875x34] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [12,44 25.25x21] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [39.25,44 27.796875x21] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [12,67 25.25x21] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [39.25,67 27.796875x21] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [12,90 25.25x21] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [39.25,90 27.796875x21] diff --git a/Tests/LibWeb/Layout/expected/table/multi-line-cell.txt b/Tests/LibWeb/Layout/expected/table/multi-line-cell.txt index d1f43899b6f..f1213d69b56 100644 --- a/Tests/LibWeb/Layout/expected/table/multi-line-cell.txt +++ b/Tests/LibWeb/Layout/expected/table/multi-line-cell.txt @@ -5,7 +5,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (9,9) content-size 79.4375x65 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (9,9) content-size 75.4375x59 table-row-group children: not-inline + Box at (11,11) content-size 75.4375x61 table-row-group children: not-inline Box at (11,11) content-size 75.4375x21 table-row children: not-inline BlockContainer
at (13,13) content-size 71.4375x17 table-cell [BFC] children: inline frag 0 from TextNode start: 0, length: 1, rect: [13,13 7.9375x17] baseline: 13.296875 @@ -30,7 +30,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x67] PaintableWithLines (TableWrapper(anonymous)) [8,8 81.4375x67] PaintableBox (Box) [8,8 81.4375x67] - PaintableBox (Box) [9,9 75.4375x59] overflow: [9,9 77.4375x63] + PaintableBox (Box) [11,11 75.4375x61] PaintableBox (Box) [11,11 75.4375x21] PaintableWithLines (BlockContainer
) [11,11 75.4375x21] TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/table/nested-table-alignment.txt b/Tests/LibWeb/Layout/expected/table/nested-table-alignment.txt index 1c97a583165..42cecb40717 100644 --- a/Tests/LibWeb/Layout/expected/table/nested-table-alignment.txt +++ b/Tests/LibWeb/Layout/expected/table/nested-table-alignment.txt @@ -3,12 +3,12 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,8) content-size 784x212 children: not-inline TableWrapper <(anonymous)> at (8,8) content-size 200x212 [BFC] children: not-inline Box at (9,9) content-size 198x210 table-box [TFC] children: not-inline - Box at (9,9) content-size 194x206 table-row-group children: not-inline + Box at (11,11) content-size 194x206 table-row-group children: not-inline Box at (11,11) content-size 194x206 table-row children: not-inline BlockContainer
at (12,12) content-size 192x204 table-cell [BFC] children: not-inline TableWrapper <(anonymous)> at (158.890625,12) content-size 45.109375x204 [BFC] children: not-inline Box at (159.890625,13) content-size 43.109375x202 table-box [TFC] children: not-inline - Box at (159.890625,13) content-size 39.109375x198 table-row-group children: not-inline + Box at (161.890625,15) content-size 39.109375x198 table-row-group children: not-inline Box at (161.890625,15) content-size 39.109375x198 table-row children: not-inline BlockContainer
at (162.890625,105.5) content-size 37.109375x17 table-cell [BFC] children: inline frag 0 from TextNode start: 0, length: 5, rect: [162.890625,105.5 37.109375x17] baseline: 13.296875 @@ -20,12 +20,12 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x212] PaintableWithLines (TableWrapper(anonymous)) [8,8 200x212] PaintableBox (Box) [8,8 200x212] - PaintableBox (Box) [9,9 194x206] overflow: [9,9 196x208] + PaintableBox (Box) [11,11 194x206] PaintableBox (Box) [11,11 194x206] PaintableWithLines (BlockContainer
) [11,11 194x206] PaintableWithLines (TableWrapper(anonymous)) [158.890625,12 45.109375x204] PaintableBox (Box) [158.890625,12 45.109375x204] - PaintableBox (Box) [159.890625,13 39.109375x198] overflow: [159.890625,13 41.109375x200] + PaintableBox (Box) [161.890625,15 39.109375x198] PaintableBox (Box) [161.890625,15 39.109375x198] PaintableWithLines (BlockContainer
) [161.890625,15 39.109375x198] TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/table/nested-table-box-width.txt b/Tests/LibWeb/Layout/expected/table/nested-table-box-width.txt index c7655e3e63d..16161f05d2c 100644 --- a/Tests/LibWeb/Layout/expected/table/nested-table-box-width.txt +++ b/Tests/LibWeb/Layout/expected/table/nested-table-box-width.txt @@ -9,10 +9,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (13,13) content-size 105.828125x114 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (13,13) content-size 99.828125x108 table-row-group children: not-inline + Box at (15,15) content-size 101.828125x110 table-row-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (15,15) content-size 99.828125x54 table-row children: not-inline + Box at (15,15) content-size 101.828125x54 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
at (25,33.5) content-size 11.5625x17 table-cell [BFC] children: inline @@ -28,7 +28,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (63.5625,30) content-size 38.265625x80 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (63.5625,30) content-size 34.265625x74 table-row-group children: not-inline + Box at (65.5625,32) content-size 34.265625x76 table-row-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> Box at (65.5625,32) content-size 34.265625x37 table-row children: not-inline @@ -61,7 +61,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (15,71) content-size 99.828125x54 table-row children: not-inline + Box at (15,71) content-size 101.828125x54 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
at (25,89.5) content-size 11.5625x17 table-cell [BFC] children: inline @@ -84,15 +84,15 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0] PaintableWithLines (TableWrapper(anonymous)) [8,8 115.828125x124] PaintableBox (Box) [8,8 115.828125x124] - PaintableBox (Box) [13,13 99.828125x108] overflow: [13,13 103.828125x112] - PaintableBox (Box) [15,15 99.828125x54] overflow: [15,15 101.828125x110] + PaintableBox (Box) [15,15 101.828125x110] + PaintableBox (Box) [15,15 101.828125x54] overflow: [15,15 101.828125x110] PaintableWithLines (BlockContainer
) [15,15 31.5625x54] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [48.5625,15 68.265625x110] PaintableWithLines (BlockContainer(anonymous)) [58.5625,25 48.265625x0] PaintableWithLines (TableWrapper(anonymous)) [58.5625,25 48.265625x90] PaintableBox (Box) [58.5625,25 48.265625x90] - PaintableBox (Box) [63.5625,30 34.265625x74] overflow: [63.5625,30 36.265625x78] + PaintableBox (Box) [65.5625,32 34.265625x76] PaintableBox (Box) [65.5625,32 34.265625x37] PaintableWithLines (BlockContainer) [15,71 99.828125x54] + PaintableBox (Box) [15,71 101.828125x54] PaintableWithLines (BlockContainer at (9,9) content-size 194x25 table-row-group children: not-inline + Box at (11,11) content-size 194x25 table-row-group children: not-inline Box at (11,11) content-size 194x25 table-row children: not-inline BlockContainer at (12,12) content-size 188x19 table-row-group children: not-inline + Box at (14,14) content-size 188x19 table-row-group children: not-inline Box at (14,14) content-size 188x19 table-row children: not-inline BlockContainer
) [65.5625,32 34.265625x37] TextPaintable (TextNode<#text>) @@ -100,7 +100,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [65.5625,71 34.265625x37] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer(anonymous)) [58.5625,115 48.265625x0] - PaintableBox (Box
) [15,71 31.5625x54] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer(anonymous)) [8,132 784x0] diff --git a/Tests/LibWeb/Layout/expected/table/percentage-width-for-nested-table-is-like-auto.txt b/Tests/LibWeb/Layout/expected/table/percentage-width-for-nested-table-is-like-auto.txt index b0edba7b6bb..32eb87f4c28 100644 --- a/Tests/LibWeb/Layout/expected/table/percentage-width-for-nested-table-is-like-auto.txt +++ b/Tests/LibWeb/Layout/expected/table/percentage-width-for-nested-table-is-like-auto.txt @@ -5,12 +5,12 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer
at (8,8) content-size 200x31 [BFC] children: not-inline TableWrapper <(anonymous)> at (8,8) content-size 200x31 [BFC] children: not-inline Box at (9,9) content-size 198x29 table-box [TFC] children: not-inline - Box
at (12,12) content-size 192x23 table-cell [BFC] children: not-inline TableWrapper <(anonymous)> at (12,12) content-size 192x23 [BFC] children: not-inline Box at (12,12) content-size 192x23 table-box [TFC] children: not-inline - Box
at (15,15) content-size 186x17 table-cell [BFC] children: inline frag 0 from TextNode start: 0, length: 3, rect: [15,15 36.53125x17] baseline: 13.296875 @@ -24,12 +24,12 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer
) [8,8 200x31] PaintableWithLines (TableWrapper(anonymous)) [8,8 200x31] PaintableBox (Box.outer) [8,8 200x31] - PaintableBox (Box) [9,9 194x25] overflow: [9,9 196x27] + PaintableBox (Box) [11,11 194x25] PaintableBox (Box) [11,11 194x25] PaintableWithLines (BlockContainer
) [11,11 194x25] PaintableWithLines (TableWrapper(anonymous)) [12,12 192x23] PaintableBox (Box.inner) [12,12 192x23] - PaintableBox (Box) [12,12 188x19] overflow: [12,12 190x21] + PaintableBox (Box) [14,14 188x19] PaintableBox (Box) [14,14 188x19] PaintableWithLines (BlockContainer at (8,8) content-size 2x2 table-row-group children: not-inline + Box at (10,10) content-size 2x2 table-row-group children: not-inline Box at (10,10) content-size 2x2 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> @@ -20,6 +20,6 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x0] overflow: [8,8 6x6] PaintableWithLines (TableWrapper(anonymous)) [8,8 6x6] PaintableBox (Box
) [14,14 188x19] TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/table/propagate-style-update-to-wrapper.txt b/Tests/LibWeb/Layout/expected/table/propagate-style-update-to-wrapper.txt index 2a35ce9c315..317845695c8 100644 --- a/Tests/LibWeb/Layout/expected/table/propagate-style-update-to-wrapper.txt +++ b/Tests/LibWeb/Layout/expected/table/propagate-style-update-to-wrapper.txt @@ -5,7 +5,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (8,8) content-size 6x6 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
#t) [8,8 6x6] - PaintableBox (Box) [8,8 2x2] overflow: [8,8 4x4] + PaintableBox (Box) [10,10 2x2] PaintableBox (Box) [10,10 2x2] PaintableWithLines (BlockContainer
) [10,10 2x2] diff --git a/Tests/LibWeb/Layout/expected/table/row-outer-size-with-computed-size.txt b/Tests/LibWeb/Layout/expected/table/row-outer-size-with-computed-size.txt index 9238d6ee063..bbe92881016 100644 --- a/Tests/LibWeb/Layout/expected/table/row-outer-size-with-computed-size.txt +++ b/Tests/LibWeb/Layout/expected/table/row-outer-size-with-computed-size.txt @@ -5,8 +5,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (8,8) content-size 49.21875x25 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (8,8) content-size 43.21875x19 table-row-group children: not-inline - Box at (10,10) content-size 43.21875x9.5 table-row children: not-inline + Box at (10,10) content-size 45.21875x21 table-row-group children: not-inline + Box at (10,10) content-size 45.21875x9.5 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (10,21.5) content-size 43.21875x9.5 table-row children: not-inline + Box at (10,21.5) content-size 45.21875x9.5 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
at (11,14.75) content-size 0x0 table-cell [BFC] children: not-inline @@ -23,7 +23,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (11,26.25) content-size 0x0 table-cell [BFC] children: not-inline @@ -37,11 +37,11 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x25] PaintableWithLines (TableWrapper(anonymous)) [8,8 49.21875x25] PaintableBox (Box) [8,8 49.21875x25] - PaintableBox (Box) [8,8 43.21875x19] overflow: [8,8 47.21875x23] - PaintableBox (Box) [10,10 43.21875x9.5] overflow: [10,10 45.21875x21] + PaintableBox (Box) [10,10 45.21875x21] + PaintableBox (Box) [10,10 45.21875x9.5] overflow: [10,10 45.21875x21] PaintableWithLines (BlockContainer) [10,21.5 43.21875x9.5] + PaintableBox (Box) [10,21.5 45.21875x9.5] PaintableWithLines (BlockContainer
) [10,10 2x9.5] PaintableWithLines (BlockContainer) [14,10 41.21875x21] InlinePaintable (InlineNode) TextPaintable (TextNode<#text>) - PaintableBox (Box
) [10,21.5 2x9.5] diff --git a/Tests/LibWeb/Layout/expected/table/row-span-and-nested-tables.txt b/Tests/LibWeb/Layout/expected/table/row-span-and-nested-tables.txt index d5356e60df8..43182489c3c 100644 --- a/Tests/LibWeb/Layout/expected/table/row-span-and-nested-tables.txt +++ b/Tests/LibWeb/Layout/expected/table/row-span-and-nested-tables.txt @@ -9,10 +9,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (9,9) content-size 73.828125x113 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (9,9) content-size 67.828125x107 table-row-group children: not-inline + Box at (11,11) content-size 69.828125x109 table-row-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (11,11) content-size 67.828125x53.5 table-row children: not-inline + Box at (11,11) content-size 69.828125x53.5 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
at (17,29.25) content-size 11.5625x17 table-cell [BFC] children: inline @@ -28,7 +28,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (43.5625,18) content-size 30.265625x95 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (43.5625,18) content-size 26.265625x87 table-row-group children: not-inline + Box at (45.5625,20) content-size 26.265625x91 table-row-group children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> Box at (45.5625,20) content-size 26.265625x29 table-row children: not-inline @@ -72,7 +72,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (11,66.5) content-size 67.828125x53.5 table-row children: not-inline + Box at (11,66.5) content-size 69.828125x53.5 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
at (17,84.75) content-size 11.5625x17 table-cell [BFC] children: inline @@ -95,15 +95,15 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0] PaintableWithLines (TableWrapper(anonymous)) [8,8 75.828125x115] PaintableBox (Box) [8,8 75.828125x115] - PaintableBox (Box) [9,9 67.828125x107] overflow: [9,9 71.828125x111] - PaintableBox (Box) [11,11 67.828125x53.5] overflow: [11,11 69.828125x109] + PaintableBox (Box) [11,11 69.828125x109] + PaintableBox (Box) [11,11 69.828125x53.5] overflow: [11,11 69.828125x109] PaintableWithLines (BlockContainer
) [11,11 23.5625x53.5] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [36.5625,11 44.265625x109] PaintableWithLines (BlockContainer(anonymous)) [42.5625,17 32.265625x0] PaintableWithLines (TableWrapper(anonymous)) [42.5625,17 32.265625x97] PaintableBox (Box) [42.5625,17 32.265625x97] - PaintableBox (Box) [43.5625,18 26.265625x87] overflow: [43.5625,18 28.265625x93] + PaintableBox (Box) [45.5625,20 26.265625x91] PaintableBox (Box) [45.5625,20 26.265625x29] PaintableWithLines (BlockContainer) [11,66.5 67.828125x53.5] + PaintableBox (Box) [11,66.5 69.828125x53.5] PaintableWithLines (BlockContainer
) [45.5625,20 26.265625x29] TextPaintable (TextNode<#text>) @@ -114,7 +114,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [45.5625,82 26.265625x29] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer(anonymous)) [42.5625,114 32.265625x0] - PaintableBox (Box
) [11,66.5 23.5625x53.5] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer(anonymous)) [8,123 784x0] diff --git a/Tests/LibWeb/Layout/expected/table/rowspan.txt b/Tests/LibWeb/Layout/expected/table/rowspan.txt index 7d0acbdc421..32ec7eaa9fc 100644 --- a/Tests/LibWeb/Layout/expected/table/rowspan.txt +++ b/Tests/LibWeb/Layout/expected/table/rowspan.txt @@ -9,8 +9,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (8,8) content-size 229.359375x86 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (8,8) content-size 221.359375x76 table-row-group children: not-inline - Box at (10,10) content-size 221.359375x19 table-row children: not-inline + Box at (10,10) content-size 225.359375x82 table-row-group children: not-inline + Box at (10,10) content-size 225.359375x19 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (10,31) content-size 221.359375x19 table-row children: not-inline + Box at (10,31) content-size 225.359375x19 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (10,52) content-size 221.359375x19 table-row children: not-inline + Box at (10,52) content-size 225.359375x19 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer at (10,73) content-size 221.359375x19 table-row children: not-inline + Box at (10,73) content-size 225.359375x19 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
at (11,11) content-size 70.046875x17 table-cell [BFC] children: inline @@ -33,7 +33,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (11,42.5) content-size 70.046875x17 table-cell [BFC] children: inline @@ -56,7 +56,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (85.046875,53) content-size 72.515625x17 table-cell [BFC] children: inline @@ -73,7 +73,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
at (11,74) content-size 70.046875x17 table-cell [BFC] children: inline @@ -106,27 +106,27 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0] PaintableWithLines (TableWrapper(anonymous)) [8,8 229.359375x86] PaintableBox (Box) [8,8 229.359375x86] - PaintableBox (Box) [8,8 221.359375x76] overflow: [8,8 227.359375x84] - PaintableBox (Box) [10,10 221.359375x19] overflow: [10,10 225.359375x19] + PaintableBox (Box) [10,10 225.359375x82] + PaintableBox (Box) [10,10 225.359375x19] PaintableWithLines (BlockContainer) [10,31 221.359375x19] overflow: [10,31 225.359375x40] + PaintableBox (Box) [10,31 225.359375x19] overflow: [10,31 225.359375x40] PaintableWithLines (BlockContainer) [10,52 221.359375x19] overflow: [10,52 225.359375x19] + PaintableBox (Box) [10,52 225.359375x19] PaintableWithLines (BlockContainer) [10,73 221.359375x19] overflow: [10,73 225.359375x19] + PaintableBox (Box) [10,73 225.359375x19] PaintableWithLines (BlockContainer
) [10,10 72.046875x19] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [84.046875,10 74.515625x19] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [160.5625,10 74.796875x19] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [10,31 72.046875x40] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [84.046875,31 74.515625x19] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [160.5625,31 74.796875x19] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [84.046875,52 74.515625x19] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [160.5625,52 74.796875x19] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [10,73 72.046875x19] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [84.046875,73 74.515625x19] diff --git a/Tests/LibWeb/Layout/expected/table/stretch-to-fixed-height.txt b/Tests/LibWeb/Layout/expected/table/stretch-to-fixed-height.txt index 5509924ab35..55adc6f91fb 100644 --- a/Tests/LibWeb/Layout/expected/table/stretch-to-fixed-height.txt +++ b/Tests/LibWeb/Layout/expected/table/stretch-to-fixed-height.txt @@ -5,8 +5,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (19,19) content-size 2x78 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (19,19) content-size 0x0 table-row-group children: not-inline - Box at (21,31) content-size 0x0 table-row children: not-inline + Box at (21,21) content-size 0x0 table-row-group children: not-inline + Box at (21,21) content-size 0x0 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> @@ -15,5 +15,5 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x100] PaintableWithLines (TableWrapper(anonymous)) [8,8 24x100] PaintableBox (Box
) [8,8 24x100] - PaintableBox (Box) [19,19 0x0] overflow: [21,31 0x0] - PaintableBox (Box) [21,31 0x0] + PaintableBox (Box) [21,21 0x0] + PaintableBox (Box) [21,21 0x0] diff --git a/Tests/LibWeb/Layout/expected/table/style-invalidation-propagation-to-table-wrapper.txt b/Tests/LibWeb/Layout/expected/table/style-invalidation-propagation-to-table-wrapper.txt index a27845aeee7..925c3418164 100644 --- a/Tests/LibWeb/Layout/expected/table/style-invalidation-propagation-to-table-wrapper.txt +++ b/Tests/LibWeb/Layout/expected/table/style-invalidation-propagation-to-table-wrapper.txt @@ -4,7 +4,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer
at (8,8) content-size 784x104 children: not-inline TableWrapper <(anonymous)> at (204,8) content-size 392x104 [BFC] children: not-inline Box
at (204,8) content-size 392x104 table-box [TFC] children: not-inline - Box at (204,8) content-size 388x100 table-row-group children: not-inline + Box at (206,10) content-size 388x100 table-row-group children: not-inline Box at (206,10) content-size 388x100 table-row children: not-inline BlockContainer
at (207,60) content-size 386x0 table-cell [BFC] children: inline TextNode <#text> @@ -15,6 +15,6 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer
) [8,8 784x104] PaintableWithLines (TableWrapper(anonymous)) [204,8 392x104] PaintableBox (Box) [204,8 392x104] - PaintableBox (Box) [204,8 388x100] overflow: [204,8 390x102] + PaintableBox (Box) [206,10 388x100] PaintableBox (Box) [206,10 388x100] PaintableWithLines (BlockContainer
) [206,10 388x100] diff --git a/Tests/LibWeb/Layout/expected/table/sum-of-percentage-column-widths-less-than-100.txt b/Tests/LibWeb/Layout/expected/table/sum-of-percentage-column-widths-less-than-100.txt index 0d7e2f67142..6b615623f48 100644 --- a/Tests/LibWeb/Layout/expected/table/sum-of-percentage-column-widths-less-than-100.txt +++ b/Tests/LibWeb/Layout/expected/table/sum-of-percentage-column-widths-less-than-100.txt @@ -5,8 +5,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (9,9) content-size 100x25 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (9,9) content-size 91.984375x21 table-row-group children: not-inline - Box at (11,11) content-size 91.984375x21 table-row children: not-inline + Box at (11,11) content-size 95.984375x21 table-row-group children: not-inline + Box at (11,11) content-size 95.984375x21 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
at (13,13) content-size 19x17 table-cell [BFC] children: inline @@ -35,8 +35,8 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x27] PaintableWithLines (TableWrapper(anonymous)) [8,8 102x27] PaintableBox (Box) [8,8 102x27] - PaintableBox (Box) [9,9 91.984375x21] overflow: [9,9 97.984375x23] - PaintableBox (Box) [11,11 91.984375x21] overflow: [11,11 95.984375x21] + PaintableBox (Box) [11,11 95.984375x21] + PaintableBox (Box) [11,11 95.984375x21] PaintableWithLines (BlockContainer
) [11,11 23x21] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [36,11 45.984375x21] diff --git a/Tests/LibWeb/Layout/expected/table/table-align-center-with-margin.txt b/Tests/LibWeb/Layout/expected/table/table-align-center-with-margin.txt index e5cf4d027e1..c97001c01a6 100644 --- a/Tests/LibWeb/Layout/expected/table/table-align-center-with-margin.txt +++ b/Tests/LibWeb/Layout/expected/table/table-align-center-with-margin.txt @@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,100) content-size 784x204 children: not-inline TableWrapper <(anonymous)> at (108,100) content-size 89.34375x204 [BFC] children: not-inline Box at (109,101) content-size 87.34375x202 table-box [TFC] children: not-inline - Box at (109,101) content-size 83.34375x198 table-row-group children: not-inline + Box at (111,103) content-size 83.34375x198 table-row-group children: not-inline Box at (111,103) content-size 83.34375x198 table-row children: not-inline BlockContainer
at (112,193.5) content-size 81.34375x17 table-cell [BFC] children: inline frag 0 from TextNode start: 0, length: 10, rect: [112,193.5 81.34375x17] baseline: 13.296875 @@ -17,7 +17,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,100 784x204] PaintableWithLines (TableWrapper(anonymous)) [108,100 89.34375x204] PaintableBox (Box) [108,100 89.34375x204] - PaintableBox (Box) [109,101 83.34375x198] overflow: [109,101 85.34375x200] + PaintableBox (Box) [111,103 83.34375x198] PaintableBox (Box) [111,103 83.34375x198] PaintableWithLines (BlockContainer
) [111,103 83.34375x198] TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/table/table-align-center.txt b/Tests/LibWeb/Layout/expected/table/table-align-center.txt index 9e554cc20e0..64be04fd557 100644 --- a/Tests/LibWeb/Layout/expected/table/table-align-center.txt +++ b/Tests/LibWeb/Layout/expected/table/table-align-center.txt @@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,8) content-size 784x204 children: not-inline TableWrapper <(anonymous)> at (370.1875,8) content-size 59.625x204 [BFC] children: not-inline Box at (371.1875,9) content-size 57.625x202 table-box [TFC] children: not-inline - Box at (371.1875,9) content-size 53.625x198 table-row-group children: not-inline + Box at (373.1875,11) content-size 53.625x198 table-row-group children: not-inline Box at (373.1875,11) content-size 53.625x198 table-row children: not-inline BlockContainer
at (374.1875,101.5) content-size 51.625x17 table-cell [BFC] children: inline frag 0 from TextNode start: 0, length: 6, rect: [374.1875,101.5 51.625x17] baseline: 13.296875 @@ -17,7 +17,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x204] PaintableWithLines (TableWrapper(anonymous)) [370.1875,8 59.625x204] PaintableBox (Box) [370.1875,8 59.625x204] - PaintableBox (Box) [371.1875,9 53.625x198] overflow: [371.1875,9 55.625x200] + PaintableBox (Box) [373.1875,11 53.625x198] PaintableBox (Box) [373.1875,11 53.625x198] PaintableWithLines (BlockContainer
) [373.1875,11 53.625x198] TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/table/table-cellpadding.txt b/Tests/LibWeb/Layout/expected/table/table-cellpadding.txt index 2ad1a3cc83e..05b5afbd368 100644 --- a/Tests/LibWeb/Layout/expected/table/table-cellpadding.txt +++ b/Tests/LibWeb/Layout/expected/table/table-cellpadding.txt @@ -3,8 +3,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,8) content-size 784x204 children: not-inline TableWrapper <(anonymous)> at (8,8) content-size 498.1875x204 [BFC] children: not-inline Box at (9,9) content-size 496.1875x202 table-box [TFC] children: not-inline - Box at (9,9) content-size 488.1875x198 table-row-group children: not-inline - Box at (11,11) content-size 488.1875x198 table-row children: not-inline + Box at (11,11) content-size 492.1875x198 table-row-group children: not-inline + Box at (11,11) content-size 492.1875x198 table-row children: not-inline BlockContainer
at (71,71) content-size 26.640625x17 table-cell [BFC] children: inline frag 0 from TextNode start: 0, length: 3, rect: [71,71 26.640625x17] baseline: 13.296875 "top" @@ -25,8 +25,8 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x204] PaintableWithLines (TableWrapper(anonymous)) [8,8 498.1875x204] PaintableBox (Box) [8,8 498.1875x204] - PaintableBox (Box) [9,9 488.1875x198] overflow: [9,9 494.1875x200] - PaintableBox (Box) [11,11 488.1875x198] overflow: [11,11 492.1875x198] + PaintableBox (Box) [11,11 492.1875x198] + PaintableBox (Box) [11,11 492.1875x198] PaintableWithLines (BlockContainer at (18,18) content-size 102x100 table-row-group children: not-inline + Box at (20,20) content-size 102x100 table-row-group children: not-inline Box at (20,20) content-size 102x100 table-row children: not-inline BlockContainer
) [11,11 146.640625x198] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [159.640625,11 165.4375x198] diff --git a/Tests/LibWeb/Layout/expected/table/table-max-content-width.txt b/Tests/LibWeb/Layout/expected/table/table-max-content-width.txt index cfefdcb4920..72f7b316146 100644 --- a/Tests/LibWeb/Layout/expected/table/table-max-content-width.txt +++ b/Tests/LibWeb/Layout/expected/table/table-max-content-width.txt @@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,8) content-size 784x124 children: not-inline TableWrapper <(anonymous)> at (8,8) content-size 126x124 [BFC] children: not-inline Box at (18,18) content-size 106x104 table-box [TFC] children: not-inline - Box
at (21,70) content-size 100x0 table-cell [BFC] children: not-inline @@ -12,6 +12,6 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x124] PaintableWithLines (TableWrapper(anonymous)) [8,8 126x124] PaintableBox (Box.table) [8,8 126x124] - PaintableBox (Box) [18,18 102x100] overflow: [18,18 104x102] + PaintableBox (Box) [20,20 102x100] PaintableBox (Box) [20,20 102x100] PaintableWithLines (BlockContainer at (108,108) content-size 580x10 table-row-group children: not-inline + Box at (110,110) content-size 580x10 table-row-group children: not-inline Box at (110,110) content-size 580x10 table-row children: not-inline BlockContainer at (111,115) content-size 578x0 table-cell [BFC] children: not-inline @@ -12,6 +12,6 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x214] PaintableWithLines (TableWrapper(anonymous)) [8,8 784x214] PaintableBox (Box
) [20,20 102x100] diff --git a/Tests/LibWeb/Layout/expected/table/table-width.txt b/Tests/LibWeb/Layout/expected/table/table-width.txt index 43119793df8..8ecdeb7e542 100644 --- a/Tests/LibWeb/Layout/expected/table/table-width.txt +++ b/Tests/LibWeb/Layout/expected/table/table-width.txt @@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,8) content-size 784x214 children: not-inline TableWrapper <(anonymous)> at (8,8) content-size 784x214 [BFC] children: not-inline Box at (108,108) content-size 584x14 table-box [TFC] children: not-inline - Box
.table) [8,8 784x214] - PaintableBox (Box) [108,108 580x10] overflow: [108,108 582x12] + PaintableBox (Box) [110,110 580x10] PaintableBox (Box) [110,110 580x10] PaintableWithLines (BlockContainer
.cell) [110,110 580x10] diff --git a/Tests/LibWeb/Layout/expected/table/td-valign.txt b/Tests/LibWeb/Layout/expected/table/td-valign.txt index cc36888a8dc..bc02aa11791 100644 --- a/Tests/LibWeb/Layout/expected/table/td-valign.txt +++ b/Tests/LibWeb/Layout/expected/table/td-valign.txt @@ -3,8 +3,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,8) content-size 784x204 children: not-inline TableWrapper <(anonymous)> at (8,8) content-size 144.1875x204 [BFC] children: not-inline Box at (9,9) content-size 142.1875x202 table-box [TFC] children: not-inline - Box at (9,9) content-size 134.1875x198 table-row-group children: not-inline - Box at (11,11) content-size 134.1875x198 table-row children: not-inline + Box at (11,11) content-size 138.1875x198 table-row-group children: not-inline + Box at (11,11) content-size 138.1875x198 table-row children: not-inline BlockContainer
at (12,12) content-size 26.640625x17 table-cell [BFC] children: inline frag 0 from TextNode start: 0, length: 3, rect: [12,12 26.640625x17] baseline: 13.296875 "top" @@ -25,8 +25,8 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x204] PaintableWithLines (TableWrapper(anonymous)) [8,8 144.1875x204] PaintableBox (Box) [8,8 144.1875x204] - PaintableBox (Box) [9,9 134.1875x198] overflow: [9,9 140.1875x200] - PaintableBox (Box) [11,11 134.1875x198] overflow: [11,11 138.1875x198] + PaintableBox (Box) [11,11 138.1875x198] + PaintableBox (Box) [11,11 138.1875x198] PaintableWithLines (BlockContainer at (8,8) content-size 56.46875x19 table-row-group children: not-inline + Box at (10,37) content-size 56.46875x19 table-row-group children: not-inline Box at (10,37) content-size 56.46875x19 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> @@ -31,7 +31,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,-2 800x602] PaintableBox (Box
) [11,11 28.640625x198] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [41.640625,11 47.4375x198] diff --git a/Tests/LibWeb/Layout/expected/table/top-caption-with-padding.txt b/Tests/LibWeb/Layout/expected/table/top-caption-with-padding.txt index 6cbc7d7e4a2..0325a82d523 100644 --- a/Tests/LibWeb/Layout/expected/table/top-caption-with-padding.txt +++ b/Tests/LibWeb/Layout/expected/table/top-caption-with-padding.txt @@ -11,7 +11,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline TextNode <#text> BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box
) [8,35 60.46875x23] overflow: [8,-2 60.46875x60] PaintableWithLines (BlockContainer) [8,8 56.46875x19] overflow: [8,8 58.46875x48] + PaintableBox (Box) [10,37 56.46875x19] PaintableBox (Box) [10,37 56.46875x19] PaintableWithLines (BlockContainer
) [8,-2 60.46875x37] TextPaintable (TextNode<#text>) - PaintableBox (Box
) [10,37 56.46875x19] TextPaintable (TextNode<#text>) diff --git a/Tests/LibWeb/Layout/expected/table/tr-valign.txt b/Tests/LibWeb/Layout/expected/table/tr-valign.txt index 23b54f47f25..b9803872d22 100644 --- a/Tests/LibWeb/Layout/expected/table/tr-valign.txt +++ b/Tests/LibWeb/Layout/expected/table/tr-valign.txt @@ -3,8 +3,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,8) content-size 784x510 children: not-inline TableWrapper <(anonymous)> at (8,8) content-size 216x510 [BFC] children: not-inline Box at (9,9) content-size 214x508 table-box [TFC] children: not-inline - Box at (9,9) content-size 208x504 table-row-group children: not-inline - Box at (11,11) content-size 208x504 table-row children: not-inline + Box at (11,11) content-size 210x504 table-row-group children: not-inline + Box at (11,11) content-size 210x504 table-row children: not-inline BlockContainer
at (12,12) content-size 102x502 table-cell [BFC] children: not-inline BlockContainer
at (13,13) content-size 100x500 children: not-inline BlockContainer
at (118,12) content-size 102x102 table-cell [BFC] children: not-inline @@ -16,8 +16,8 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x510] PaintableWithLines (TableWrapper(anonymous)) [8,8 216x510] PaintableBox (Box) [8,8 216x510] - PaintableBox (Box) [9,9 208x504] overflow: [9,9 212x506] - PaintableBox (Box) [11,11 208x504] overflow: [11,11 210x504] + PaintableBox (Box) [11,11 210x504] + PaintableBox (Box) [11,11 210x504] PaintableWithLines (BlockContainer(not painted) children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (9,9) content-size 412x21 table-row-group children: not-inline - Box at (11,11) content-size 412x21 table-row children: not-inline + Box at (11,11) content-size 414x21 table-row-group children: not-inline + Box at (11,11) content-size 414x21 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
) [11,11 104x504] PaintableWithLines (BlockContainer
) [12,12 102x502] PaintableWithLines (BlockContainer
) [117,11 104x504] diff --git a/Tests/LibWeb/Layout/expected/table/width-distribution-and-constrained-columns-increased-size-on-col.txt b/Tests/LibWeb/Layout/expected/table/width-distribution-and-constrained-columns-increased-size-on-col.txt index d91795ba268..89bd02af099 100644 --- a/Tests/LibWeb/Layout/expected/table/width-distribution-and-constrained-columns-increased-size-on-col.txt +++ b/Tests/LibWeb/Layout/expected/table/width-distribution-and-constrained-columns-increased-size-on-col.txt @@ -10,8 +10,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer
at (13,13) content-size 46x17 table-cell [BFC] children: inline @@ -34,8 +34,8 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x27] PaintableWithLines (TableWrapper(anonymous)) [8,8 420x27] PaintableBox (Box) [8,8 420x27] - PaintableBox (Box) [9,9 412x21] overflow: [9,9 416x23] - PaintableBox (Box) [11,11 412x21] overflow: [11,11 414x21] + PaintableBox (Box) [11,11 414x21] + PaintableBox (Box) [11,11 414x21] PaintableWithLines (BlockContainer(not painted) children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (9,9) content-size 412x21 table-row-group children: not-inline - Box at (11,11) content-size 412x21 table-row children: not-inline + Box at (11,11) content-size 414x21 table-row-group children: not-inline + Box at (11,11) content-size 414x21 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
) [11,11 50x21] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [63,11 362x21] diff --git a/Tests/LibWeb/Layout/expected/table/width-distribution-and-constrained-columns-size-on-col.txt b/Tests/LibWeb/Layout/expected/table/width-distribution-and-constrained-columns-size-on-col.txt index c551d28f315..273e8113049 100644 --- a/Tests/LibWeb/Layout/expected/table/width-distribution-and-constrained-columns-size-on-col.txt +++ b/Tests/LibWeb/Layout/expected/table/width-distribution-and-constrained-columns-size-on-col.txt @@ -10,8 +10,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer
at (13,13) content-size 14.265625x17 table-cell [BFC] children: inline @@ -34,8 +34,8 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x27] PaintableWithLines (TableWrapper(anonymous)) [8,8 420x27] PaintableBox (Box) [8,8 420x27] - PaintableBox (Box) [9,9 412x21] overflow: [9,9 416x23] - PaintableBox (Box) [11,11 412x21] overflow: [11,11 414x21] + PaintableBox (Box) [11,11 414x21] + PaintableBox (Box) [11,11 414x21] PaintableWithLines (BlockContainer
) [11,11 18.265625x21] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [31.265625,11 393.734375x21] diff --git a/Tests/LibWeb/Layout/expected/table/width-distribution-and-constrained-columns.txt b/Tests/LibWeb/Layout/expected/table/width-distribution-and-constrained-columns.txt index ef80e6fbdf8..078119d6b3d 100644 --- a/Tests/LibWeb/Layout/expected/table/width-distribution-and-constrained-columns.txt +++ b/Tests/LibWeb/Layout/expected/table/width-distribution-and-constrained-columns.txt @@ -5,8 +5,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline Box at (9,9) content-size 418x25 table-box [TFC] children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> - Box at (9,9) content-size 412x21 table-row-group children: not-inline - Box at (11,11) content-size 412x21 table-row children: not-inline + Box at (11,11) content-size 414x21 table-row-group children: not-inline + Box at (11,11) content-size 414x21 table-row children: not-inline BlockContainer <(anonymous)> (not painted) children: inline TextNode <#text> BlockContainer
at (13,13) content-size 14.265625x17 table-cell [BFC] children: inline @@ -29,8 +29,8 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x27] PaintableWithLines (TableWrapper(anonymous)) [8,8 420x27] PaintableBox (Box) [8,8 420x27] - PaintableBox (Box) [9,9 412x21] overflow: [9,9 416x23] - PaintableBox (Box) [11,11 412x21] overflow: [11,11 414x21] + PaintableBox (Box) [11,11 414x21] + PaintableBox (Box) [11,11 414x21] PaintableWithLines (BlockContainer
) [11,11 18.265625x21] TextPaintable (TextNode<#text>) PaintableWithLines (BlockContainer) [31.265625,11 393.734375x21] diff --git a/Tests/LibWeb/Layout/expected/zero_percent_width_nested_table.txt b/Tests/LibWeb/Layout/expected/zero_percent_width_nested_table.txt index eee9d9d237c..bbee66060c6 100644 --- a/Tests/LibWeb/Layout/expected/zero_percent_width_nested_table.txt +++ b/Tests/LibWeb/Layout/expected/zero_percent_width_nested_table.txt @@ -3,12 +3,12 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (8,8) content-size 784x12 children: not-inline TableWrapper <(anonymous)> at (8,8) content-size 12x12 [BFC] children: not-inline Box at (8,8) content-size 12x12 table-box [TFC] children: not-inline - Box at (8,8) content-size 8x8 table-row-group children: not-inline + Box at (10,10) content-size 8x8 table-row-group children: not-inline Box at (10,10) content-size 8x8 table-row children: not-inline BlockContainer
at (11,11) content-size 6x6 table-cell [BFC] children: not-inline TableWrapper <(anonymous)> at (11,11) content-size 6x6 [BFC] children: not-inline Box at (11,11) content-size 6x6 table-box [TFC] children: not-inline - Box at (11,11) content-size 2x2 table-row-group children: not-inline + Box at (13,13) content-size 2x2 table-row-group children: not-inline Box at (13,13) content-size 2x2 table-row children: not-inline BlockContainer
at (14,14) content-size 0x0 table-cell [BFC] children: inline TextNode <#text> @@ -18,11 +18,11 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600] PaintableWithLines (BlockContainer) [8,8 784x12] PaintableWithLines (TableWrapper(anonymous)) [8,8 12x12] PaintableBox (Box) [8,8 12x12] - PaintableBox (Box) [8,8 8x8] overflow: [8,8 10x10] + PaintableBox (Box) [10,10 8x8] PaintableBox (Box) [10,10 8x8] PaintableWithLines (BlockContainer
) [10,10 8x8] PaintableWithLines (TableWrapper(anonymous)) [11,11 6x6] PaintableBox (Box) [11,11 6x6] - PaintableBox (Box) [11,11 2x2] overflow: [11,11 4x4] + PaintableBox (Box) [13,13 2x2] PaintableBox (Box) [13,13 2x2] PaintableWithLines (BlockContainer
) [13,13 2x2] diff --git a/Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp index 57a93c1e69f..ceb8c414b5e 100644 --- a/Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp +++ b/Userland/Libraries/LibWeb/Layout/TableFormattingContext.cpp @@ -1030,7 +1030,7 @@ void TableFormattingContext::position_row_boxes() { auto const& table_state = m_state.get(table_box()); - CSSPixels row_top_offset = table_state.offset.y() + table_state.padding_top + border_spacing_vertical(); + CSSPixels row_top_offset = table_state.offset.y() + border_spacing_vertical(); CSSPixels row_left_offset = table_state.border_left + table_state.padding_left + border_spacing_horizontal(); for (size_t y = 0; y < m_rows.size(); y++) { auto& row = m_rows[y]; @@ -1039,6 +1039,8 @@ void TableFormattingContext::position_row_boxes() for (auto& column : m_columns) { row_width += column.used_width; } + if (m_columns.size() >= 2) + row_width += (m_columns.size() - 1) * border_spacing_horizontal(); row_state.set_content_height(row.final_height); row_state.set_content_width(row_width); @@ -1047,8 +1049,8 @@ void TableFormattingContext::position_row_boxes() row_top_offset += row_state.content_height() + border_spacing_vertical(); } - CSSPixels row_group_top_offset = table_state.border_top + table_state.padding_top; - CSSPixels row_group_left_offset = table_state.border_left + table_state.padding_left; + CSSPixels row_group_top_offset = table_state.offset.y() + border_spacing_vertical(); + CSSPixels row_group_left_offset = table_state.border_left + table_state.padding_left + border_spacing_horizontal(); TableGrid::for_each_child_box_matching(table_box(), TableGrid::is_table_row_group, [&](auto& row_group_box) { CSSPixels row_group_height = 0; CSSPixels row_group_width = 0; @@ -1057,16 +1059,20 @@ void TableFormattingContext::position_row_boxes() row_group_box_state.set_content_x(row_group_left_offset); row_group_box_state.set_content_y(row_group_top_offset); + int num_rows = 0; TableGrid::for_each_child_box_matching(row_group_box, TableGrid::is_table_row, [&](auto& row) { auto const& row_state = m_state.get(row); row_group_height += row_state.border_box_height(); row_group_width = max(row_group_width, row_state.border_box_width()); + num_rows += 1; }); + if (num_rows >= 2) + row_group_height += (num_rows - 1) * border_spacing_vertical(); row_group_box_state.set_content_height(row_group_height); row_group_box_state.set_content_width(row_group_width); - row_group_top_offset += row_group_height; + row_group_top_offset += row_group_height + (num_rows > 0 ? border_spacing_vertical() : 0); }); auto total_content_height = max(row_top_offset, row_group_top_offset) - table_state.offset.y() - table_state.padding_top;