at (8,46.9375) content-size 95.171875x19.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (9,47.9375) content-size 93.171875x17.46875 table-cell [BFC] children: inline
line 0 width: 93.171875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 11, rect: [9,47.9375 93.171875x17.46875]
"Footer Cell"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> at (8,66.40625) content-size 784x0 children: inline
TextNode <#text>
diff --git a/Tests/LibWeb/Layout/expected/table/borders.txt b/Tests/LibWeb/Layout/expected/table/borders.txt
index b146935aad..32c7d888d2 100644
--- a/Tests/LibWeb/Layout/expected/table/borders.txt
+++ b/Tests/LibWeb/Layout/expected/table/borders.txt
@@ -3,258 +3,258 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer at (8,8) content-size 784x277.625 children: not-inline
TableWrapper <(anonymous)> at (8,8) content-size 164.296875x66.40625 [BFC] children: not-inline
Box at (9,9) content-size 164.296875x64.40625 table-box [TFC] children: not-inline
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box at (9,9) content-size 166.296875x64.40625 table-row-group children: not-inline
Box at (9,9) content-size 166.296875x21.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (11,11) content-size 82.015625x17.46875 table-cell [BFC] children: inline
line 0 width: 82.015625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 9, rect: [11,11 82.015625x17.46875]
"Firstname"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer | at (97.015625,11) content-size 76.28125x17.46875 table-cell [BFC] children: inline
line 0 width: 76.28125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 8, rect: [97.015625,11 76.28125x17.46875]
"Lastname"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box | at (9,30.46875) content-size 166.296875x21.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (11,32.46875) content-size 82.015625x17.46875 table-cell [BFC] children: inline
line 0 width: 44.65625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 5, rect: [11,32.46875 44.65625x17.46875]
"Peter"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer | at (97.015625,32.46875) content-size 76.28125x17.46875 table-cell [BFC] children: inline
line 0 width: 53.671875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 7, rect: [97.015625,32.46875 53.671875x17.46875]
"Griffin"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box | at (9,51.9375) content-size 166.296875x21.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (11,53.9375) content-size 82.015625x17.46875 table-cell [BFC] children: inline
line 0 width: 35.125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 4, rect: [11,53.9375 35.125x17.46875]
"Lois"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer | at (97.015625,53.9375) content-size 76.28125x17.46875 table-cell [BFC] children: inline
line 0 width: 53.671875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 7, rect: [97.015625,53.9375 53.671875x17.46875]
"Griffin"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> at (8,74.40625) content-size 784x0 children: inline
TextNode <#text>
TextNode <#text>
TableWrapper <(anonymous)> at (8,74.40625) content-size 164.296875x62.40625 [BFC] children: not-inline
Box at (8,74.40625) content-size 164.296875x62.40625 table-box [TFC] children: not-inline
- BlockContainer <(anonymous)> at (8,74.40625) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box at (8,74.40625) content-size 164.296875x62.40625 table-row-group children: not-inline
Box at (8,74.40625) content-size 164.296875x20.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,74.40625) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (9,75.40625) content-size 82.015625x17.46875 table-cell [BFC] children: inline
line 0 width: 82.015625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 9, rect: [9,75.40625 82.015625x17.46875]
"Firstname"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,74.40625) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer | at (95.015625,75.40625) content-size 76.28125x17.46875 table-cell [BFC] children: inline
line 0 width: 76.28125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 8, rect: [95.015625,75.40625 76.28125x17.46875]
"Lastname"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,74.40625) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,74.40625) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box | at (8,94.875) content-size 164.296875x21.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,74.40625) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (9,96.875) content-size 82.015625x17.46875 table-cell [BFC] children: inline
line 0 width: 44.65625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 5, rect: [9,96.875 44.65625x17.46875]
"Peter"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,74.40625) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer | at (95.015625,96.875) content-size 76.28125x17.46875 table-cell [BFC] children: inline
line 0 width: 53.671875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 7, rect: [95.015625,96.875 53.671875x17.46875]
"Griffin"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,74.40625) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,74.40625) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box | at (8,116.34375) content-size 164.296875x20.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,74.40625) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (9,118.34375) content-size 82.015625x17.46875 table-cell [BFC] children: inline
line 0 width: 35.125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 4, rect: [9,118.34375 35.125x17.46875]
"Lois"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,74.40625) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer | at (95.015625,118.34375) content-size 76.28125x17.46875 table-cell [BFC] children: inline
line 0 width: 53.671875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 7, rect: [95.015625,118.34375 53.671875x17.46875]
"Griffin"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,74.40625) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,74.40625) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> at (8,136.8125) content-size 784x0 children: inline
TextNode <#text>
TextNode <#text>
TableWrapper <(anonymous)> at (8,136.8125) content-size 160.296875x56.40625 [BFC] children: not-inline
Box at (8,136.8125) content-size 160.296875x56.40625 table-box [TFC] children: not-inline
- BlockContainer <(anonymous)> at (8,136.8125) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box at (8,136.8125) content-size 160.296875x18.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,136.8125) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (8,136.8125) content-size 82.015625x17.46875 table-cell [BFC] children: inline
line 0 width: 82.015625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 9, rect: [8,136.8125 82.015625x17.46875]
"Firstname"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,136.8125) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (92.015625,136.8125) content-size 76.28125x17.46875 table-cell [BFC] children: inline
line 0 width: 76.28125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 8, rect: [92.015625,136.8125 76.28125x17.46875]
"Lastname"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,136.8125) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,136.8125) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box at (8,155.28125) content-size 160.296875x19.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,136.8125) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (8,156.28125) content-size 82.015625x17.46875 table-cell [BFC] children: inline
line 0 width: 44.65625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 5, rect: [8,156.28125 44.65625x17.46875]
"Peter"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,136.8125) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (92.015625,156.28125) content-size 76.28125x17.46875 table-cell [BFC] children: inline
line 0 width: 53.671875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 7, rect: [92.015625,156.28125 53.671875x17.46875]
"Griffin"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,136.8125) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,136.8125) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box at (8,174.75) content-size 160.296875x18.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,136.8125) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (8,175.75) content-size 82.015625x17.46875 table-cell [BFC] children: inline
line 0 width: 35.125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 4, rect: [8,175.75 35.125x17.46875]
"Lois"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,136.8125) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (92.015625,175.75) content-size 76.28125x17.46875 table-cell [BFC] children: inline
line 0 width: 53.671875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 7, rect: [92.015625,175.75 53.671875x17.46875]
"Griffin"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,136.8125) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,136.8125) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> at (8,193.21875) content-size 784x0 children: inline
TextNode <#text>
TextNode <#text>
TableWrapper <(anonymous)> at (8,193.21875) content-size 178.296875x92.40625 [BFC] children: not-inline
Box at (8,193.21875) content-size 178.296875x92.40625 table-box [TFC] children: not-inline
- BlockContainer <(anonymous)> at (8,193.21875) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box at (8,193.21875) content-size 178.296875x27.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,193.21875) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (8,193.21875) content-size 82.015625x17.46875 table-cell [BFC] children: inline
line 0 width: 82.015625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 9, rect: [8,193.21875 82.015625x17.46875]
"Firstname"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,193.21875) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (110.015625,193.21875) content-size 76.28125x17.46875 table-cell [BFC] children: inline
line 0 width: 76.28125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 8, rect: [110.015625,193.21875 76.28125x17.46875]
"Lastname"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,193.21875) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,193.21875) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box at (8,220.6875) content-size 178.296875x37.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,193.21875) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (8,230.6875) content-size 82.015625x17.46875 table-cell [BFC] children: inline
line 0 width: 44.65625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 5, rect: [8,230.6875 44.65625x17.46875]
"Peter"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,193.21875) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (110.015625,230.6875) content-size 76.28125x17.46875 table-cell [BFC] children: inline
line 0 width: 53.671875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 7, rect: [110.015625,230.6875 53.671875x17.46875]
"Griffin"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,193.21875) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,193.21875) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box at (8,258.15625) content-size 178.296875x27.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,193.21875) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (8,268.15625) content-size 82.015625x17.46875 table-cell [BFC] children: inline
line 0 width: 35.125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 4, rect: [8,268.15625 35.125x17.46875]
"Lois"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,193.21875) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (110.015625,268.15625) content-size 76.28125x17.46875 table-cell [BFC] children: inline
line 0 width: 53.671875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 7, rect: [110.015625,268.15625 53.671875x17.46875]
"Griffin"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,193.21875) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,193.21875) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> at (8,285.625) content-size 784x0 children: inline
TextNode <#text>
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 c684799d35..a214ce2759 100644
--- a/Tests/LibWeb/Layout/expected/table/columns-width-distribution-1.txt
+++ b/Tests/LibWeb/Layout/expected/table/columns-width-distribution-1.txt
@@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer at (8,8) content-size 784x92.21875 children: not-inline
TableWrapper <(anonymous)> at (8,8) content-size 782x92.21875 [BFC] children: not-inline
Box at (9,9) content-size 780x90.21875 table-box [TFC] children: not-inline
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box at (9,9) content-size 780x90.21875 table-row-group children: not-inline
Box at (9,9) content-size 780x90.21875 table-row children: not-inline
diff --git a/Tests/LibWeb/Layout/expected/table/rowspan.txt b/Tests/LibWeb/Layout/expected/table/rowspan.txt
index fb350e9681..f44e73410b 100644
--- a/Tests/LibWeb/Layout/expected/table/rowspan.txt
+++ b/Tests/LibWeb/Layout/expected/table/rowspan.txt
@@ -7,105 +7,105 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
TextNode <#text>
TableWrapper <(anonymous)> at (8,8) content-size 221.359375x77.875 [BFC] children: not-inline
Box at (8,8) content-size 221.359375x77.875 table-box [TFC] children: not-inline
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box at (8,8) content-size 221.359375x77.875 table-row-group children: not-inline
Box at (8,8) content-size 221.359375x19.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (9,9) content-size 70.046875x17.46875 table-cell [BFC] children: inline
line 0 width: 70.046875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 8, rect: [9,9 70.046875x17.46875]
"Header 1"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer | at (81.046875,9) content-size 72.515625x17.46875 table-cell [BFC] children: inline
line 0 width: 72.515625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 8, rect: [81.046875,9 72.515625x17.46875]
"Header 2"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer | at (155.5625,9) content-size 72.796875x17.46875 table-cell [BFC] children: inline
line 0 width: 72.796875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 8, rect: [155.5625,9 72.796875x17.46875]
"Header 3"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box | at (8,27.46875) content-size 221.359375x19.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (9,38.203125) content-size 70.046875x17.46875 table-cell [BFC] children: inline
line 0 width: 49.609375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 5, rect: [9,38.203125 49.609375x17.46875]
"Row 1"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer | at (81.046875,28.46875) content-size 72.515625x17.46875 table-cell [BFC] children: inline
line 0 width: 41.84375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 6, rect: [81.046875,28.46875 41.84375x17.46875]
"Cell 1"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer | at (155.5625,28.46875) content-size 72.796875x17.46875 table-cell [BFC] children: inline
line 0 width: 44.3125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 6, rect: [155.5625,28.46875 44.3125x17.46875]
"Cell 2"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box | at (8,46.9375) content-size 221.359375x19.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (81.046875,47.9375) content-size 72.515625x17.46875 table-cell [BFC] children: inline
line 0 width: 44.59375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 6, rect: [81.046875,47.9375 44.59375x17.46875]
"Cell 3"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer | at (155.5625,47.9375) content-size 72.796875x17.46875 table-cell [BFC] children: inline
line 0 width: 43.25, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 6, rect: [155.5625,47.9375 43.25x17.46875]
"Cell 4"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
Box | at (8,66.40625) content-size 221.359375x19.46875 table-row children: not-inline
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer at (9,67.40625) content-size 70.046875x17.46875 table-cell [BFC] children: inline
line 0 width: 52.078125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 5, rect: [9,67.40625 52.078125x17.46875]
"Row 2"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer | at (81.046875,67.40625) content-size 72.515625x17.46875 table-cell [BFC] children: inline
line 0 width: 43.953125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 6, rect: [81.046875,67.40625 43.953125x17.46875]
"Cell 5"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer | at (155.5625,67.40625) content-size 72.796875x17.46875 table-cell [BFC] children: inline
line 0 width: 44.234375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 6, rect: [155.5625,67.40625 44.234375x17.46875]
"Cell 6"
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
- BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
+ BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
BlockContainer <(anonymous)> at (8,85.875) content-size 784x0 children: inline
TextNode <#text>
diff --git a/Userland/Libraries/LibWeb/Dump.cpp b/Userland/Libraries/LibWeb/Dump.cpp
index ea266a441d..85eb7af592 100644
--- a/Userland/Libraries/LibWeb/Dump.cpp
+++ b/Userland/Libraries/LibWeb/Dump.cpp
@@ -194,6 +194,8 @@ void dump_tree(StringBuilder& builder, Layout::Node const& layout_node, bool sho
paintable_box->absolute_y(),
paintable_box->content_width(),
paintable_box->content_height());
+ } else {
+ builder.appendff("(not painted)");
}
if (box.is_positioned())
diff --git a/Userland/Libraries/LibWeb/Layout/BlockFormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/BlockFormattingContext.cpp
index d530a588c0..48b2cc3f7a 100644
--- a/Userland/Libraries/LibWeb/Layout/BlockFormattingContext.cpp
+++ b/Userland/Libraries/LibWeb/Layout/BlockFormattingContext.cpp
@@ -810,42 +810,8 @@ void BlockFormattingContext::place_block_level_element_in_normal_flow_horizontal
box_state.set_content_offset({ x.value(), box_state.offset.y() });
}
-void BlockFormattingContext::measure_scrollable_overflow(Box const& box, CSSPixels& bottom_edge, CSSPixels& right_edge) const
-{
- auto const& child_state = m_state.get(box);
- auto child_rect = absolute_content_rect(box);
- child_rect.inflate(child_state.border_box_top(), child_state.border_box_right(), child_state.border_box_bottom(), child_state.border_box_left());
-
- bottom_edge = max(bottom_edge, child_rect.bottom() - 1);
- right_edge = max(right_edge, child_rect.right() - 1);
-
- if (box.computed_values().overflow_x() == CSS::Overflow::Hidden && box.computed_values().overflow_y() == CSS::Overflow::Hidden)
- return;
-
- if (box.children_are_inline()) {
- if (!child_state.line_boxes.is_empty()) {
- bottom_edge = max(bottom_edge, child_rect.y() + child_state.line_boxes.last().bottom());
- for (auto& line_box : child_state.line_boxes) {
- if (line_box.fragments().is_empty())
- continue;
- right_edge = max(right_edge, child_rect.x() + line_box.fragments().last().width());
- }
- }
- } else {
- box.for_each_child_of_type([&](Box const& child) {
- measure_scrollable_overflow(child, bottom_edge, right_edge);
- return IterationDecision::Continue;
- });
- }
-}
-
void BlockFormattingContext::layout_viewport(LayoutMode layout_mode, AvailableSpace const& available_space)
{
- auto viewport_rect = root().browsing_context().viewport_rect();
-
- auto& viewport = verify_cast(root());
- auto& viewport_state = m_state.get_mutable(viewport);
-
// NOTE: If we are laying out a standalone SVG document, we give it some special treatment:
// The root | | | |