diff --git a/Tests/LibWeb/Layout/expected/flex/flex-item-with-intrinsic-aspect-ratio-and-max-height.txt b/Tests/LibWeb/Layout/expected/flex/flex-item-with-intrinsic-aspect-ratio-and-max-height.txt
index 2e9004c14d..b2e710b739 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-item-with-intrinsic-aspect-ratio-and-max-height.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-item-with-intrinsic-aspect-ratio-and-max-height.txt
@@ -1,11 +1,11 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer at (1,1) content-size 798x69.984375 [BFC] children: not-inline
Box
at (10,10) content-size 780x51.984375 flex-container(row) [FFC] children: not-inline
- ImageBox
at (11,11) content-size 66.65625x49.984375 flex-item children: not-inline
+ ImageBox
at (11,11) content-size 66.65625x50 flex-item children: not-inline
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer) [0,0 800x71.984375]
- PaintableBox (Box) [9,9 782x53.984375]
- ImagePaintable (ImageBox
) [10,10 68.65625x51.984375]
+ PaintableBox (Box) [9,9 782x53.984375] overflow: [10,10 780x52]
+ ImagePaintable (ImageBox
) [10,10 68.65625x52]
diff --git a/Tests/LibWeb/Layout/expected/flex/intrinsic-height-of-flex-container-with-svg-item-that-only-has-natural-aspect-ratio.txt b/Tests/LibWeb/Layout/expected/flex/intrinsic-height-of-flex-container-with-svg-item-that-only-has-natural-aspect-ratio.txt
index 53ec2567ba..33e74be3fb 100644
--- a/Tests/LibWeb/Layout/expected/flex/intrinsic-height-of-flex-container-with-svg-item-that-only-has-natural-aspect-ratio.txt
+++ b/Tests/LibWeb/Layout/expected/flex/intrinsic-height-of-flex-container-with-svg-item-that-only-has-natural-aspect-ratio.txt
@@ -1,11 +1,11 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
- BlockContainer at (0,0) content-size 800x16 [BFC] children: not-inline
- Box at (8,8) content-size 784x0 flex-container(column) [FFC] children: not-inline
- SVGSVGBox