at (8,8) content-size 100x100 children: inline
+ TextNode <#text>
diff --git a/Tests/LibWeb/Layout/expected/lh-2.txt b/Tests/LibWeb/Layout/expected/lh-2.txt
new file mode 100644
index 0000000000..d0a936af55
--- /dev/null
+++ b/Tests/LibWeb/Layout/expected/lh-2.txt
@@ -0,0 +1,6 @@
+Viewport <#document> at (0,0) content-size 800x600 children: not-inline
+ BlockContainer at (0,0) content-size 800x116 children: not-inline
+ BlockContainer at (8,8) content-size 784x100 children: not-inline
+ BlockContainer
at (8,8) content-size 100x100 children: not-inline
+ BlockContainer
at (8,8) content-size 100x100 children: inline
+ TextNode <#text>
diff --git a/Tests/LibWeb/Layout/input/lh-1.html b/Tests/LibWeb/Layout/input/lh-1.html
new file mode 100644
index 0000000000..a1af79c08c
--- /dev/null
+++ b/Tests/LibWeb/Layout/input/lh-1.html
@@ -0,0 +1,23 @@
+
+
+
diff --git a/Tests/LibWeb/Layout/input/lh-2.html b/Tests/LibWeb/Layout/input/lh-2.html
new file mode 100644
index 0000000000..b6eb3c0af0
--- /dev/null
+++ b/Tests/LibWeb/Layout/input/lh-2.html
@@ -0,0 +1,22 @@
+
+
+