at (8,8) content-size 200x200 flex-item [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [8,8 36.84375x17] baseline: 13.296875
diff --git a/Tests/LibWeb/Layout/expected/flex/inline-flex-with-main-axis-margin-on-flex-container.txt b/Tests/LibWeb/Layout/expected/flex/inline-flex-with-main-axis-margin-on-flex-container.txt
index 8a6980c2ff9..389f2446686 100644
--- a/Tests/LibWeb/Layout/expected/flex/inline-flex-with-main-axis-margin-on-flex-container.txt
+++ b/Tests/LibWeb/Layout/expected/flex/inline-flex-with-main-axis-margin-on-flex-container.txt
@@ -1,6 +1,6 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer at (1,1) content-size 500x37 [BFC] children: inline
- frag 0 from Box start: 0, length: 0, rect: [10,10 162.40625x19] baseline: 15.296875
+ frag 0 from Box start: 0, length: 0, rect: [10,10 162.40625x19] baseline: 24.296875
Box at (10,10) content-size 162.40625x19 flex-container(row) [FFC] children: not-inline
BlockContainer
at (11,11) content-size 160.40625x17 flex-item [BFC] children: inline
frag 0 from TextNode start: 0, length: 20, rect: [11,11 160.40625x17] baseline: 13.296875
diff --git a/Tests/LibWeb/Layout/expected/grid/inline-grid-simple.txt b/Tests/LibWeb/Layout/expected/grid/inline-grid-simple.txt
index 711cbdc213a..3e3b54e2327 100644
--- a/Tests/LibWeb/Layout/expected/grid/inline-grid-simple.txt
+++ b/Tests/LibWeb/Layout/expected/grid/inline-grid-simple.txt
@@ -1,6 +1,6 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer at (0,0) content-size 800x33 [BFC] children: inline
- frag 0 from Box start: 0, length: 0, rect: [8,8 26.953125x17] baseline: 13.296875
+ frag 0 from Box start: 0, length: 0, rect: [8,8 26.953125x17] baseline: 21.296875
Box at (8,8) content-size 26.953125x17 [GFC] children: not-inline
BlockContainer <(anonymous)> at (8,8) content-size 26.953125x17 [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [8,8 26.953125x17] baseline: 13.296875
diff --git a/Tests/LibWeb/Layout/expected/input-file.txt b/Tests/LibWeb/Layout/expected/input-file.txt
index 5b8a2a4c181..a0f6f9144d4 100644
--- a/Tests/LibWeb/Layout/expected/input-file.txt
+++ b/Tests/LibWeb/Layout/expected/input-file.txt
@@ -1,52 +1,52 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer at (0,0) content-size 800x600 [BFC] children: not-inline
BlockContainer at (8,8) content-size 784x21 children: inline
- frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 236.65625x21] baseline: 13.296875
- frag 1 from TextNode start: 0, length: 1, rect: [245,8 8x17] baseline: 13.296875
+ frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 236.65625x21] baseline: 15.296875
+ frag 1 from TextNode start: 0, length: 1, rect: [245,10 8x17] baseline: 13.296875
" "
- frag 2 from BlockContainer start: 0, length: 0, rect: [253,8 255.34375x21] baseline: 13.296875
- frag 3 from TextNode start: 0, length: 1, rect: [508,8 8x17] baseline: 13.296875
+ frag 2 from BlockContainer start: 0, length: 0, rect: [253,8 255.34375x21] baseline: 15.296875
+ frag 3 from TextNode start: 0, length: 1, rect: [508,10 8x17] baseline: 13.296875
" "
- frag 4 from BlockContainer start: 0, length: 0, rect: [516,8 255.34375x21] baseline: 13.296875
+ frag 4 from BlockContainer start: 0, length: 0, rect: [516,8 255.34375x21] baseline: 15.296875
BlockContainer
at (8,8) content-size 236.65625x21 inline-block [BFC] children: inline
- frag 0 from BlockContainer start: 0, length: 0, rect: [13,10 94.375x17] baseline: 13.296875
- frag 1 from Label start: 0, length: 0, rect: [116,8 128.28125x17] baseline: 13.296875
+ frag 0 from BlockContainer start: 0, length: 0, rect: [13,10 94.375x17] baseline: 15.296875
+ frag 1 from Label start: 0, length: 0, rect: [116,10 128.28125x17] baseline: 13.296875
BlockContainer