diff --git a/layout/reftests/bugs/240029-1-ref.html b/layout/reftests/bugs/240029-1-ref.html
new file mode 100644
index 00000000000..dc5ca019e02
--- /dev/null
+++ b/layout/reftests/bugs/240029-1-ref.html
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+ should_be_at_left_edge |
+
+
+
+
diff --git a/layout/reftests/bugs/240029-1.html b/layout/reftests/bugs/240029-1.html
new file mode 100644
index 00000000000..7fd60ee9f17
--- /dev/null
+++ b/layout/reftests/bugs/240029-1.html
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+ should_be_at_left_edge |
+
+
+
+
diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list
index 5fd210b01c9..ee154b1d59f 100644
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -169,6 +169,7 @@ fails == 25888-3r.html 25888-3r-ref.html # bug 25888
== 234964-2.html 234964-2-ref.html
== 235593-1.html 235593-1-ref.html
== 236539-1.html 236539-1-ref.html
+== 240029-1.html 240029-1-ref.html
== 240470-1.html 240470-1-ref.html
== 243266-1.html 243266-1-ref.html
== 243302-1.html 243302-1-ref.html