diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-width.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-width.txt
new file mode 100644
index 00000000000000..3786f1e3e19a84
--- /dev/null
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-width.txt
@@ -0,0 +1,29 @@
+Viewport <#document> at (0,0) content-size 800x600 children: not-inline
+ BlockContainer at (0,0) content-size 800x58.9375 [BFC] children: not-inline
+ BlockContainer
at (8,8) content-size 784x42.9375 children: not-inline
+ BlockContainer at (13,10) content-size 190x17.46875 children: not-inline
+ BlockContainer <(anonymous)> at (13,10) content-size 190x17.46875 flex-container(column) [FFC] children: not-inline
+ BlockContainer <(anonymous)> at (13,10) content-size 190x17.46875 flex-item [BFC] children: inline
+ line 0 width: 94.921875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
+ frag 0 from TextNode start: 0, length: 11, rect: [61,10 94.921875x17.46875]
+ "200px width"
+ TextNode <#text>
+ BlockContainer at (13,31.46875) content-size 324.671875x17.46875 children: not-inline
+ BlockContainer <(anonymous)> at (13,31.46875) content-size 324.671875x17.46875 flex-container(column) [FFC] children: not-inline
+ BlockContainer <(anonymous)> at (13,31.46875) content-size 324.671875x17.46875 flex-item [BFC] children: inline
+ line 0 width: 324.671875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
+ frag 0 from TextNode start: 0, length: 39, rect: [13,31.46875 324.671875x17.46875]
+ "auto width should behave as fit-content"
+ TextNode <#text>
+
+ViewportPaintable (Viewport<#document>) [0,0 800x600]
+ PaintableWithLines (BlockContainer) [0,0 800x58.9375]
+ PaintableWithLines (BlockContainer) [8,8 784x42.9375]
+ PaintableWithLines (BlockContainer