diff --git a/mozilla/layout/reftests/bugs/368155-1-ref.xhtml b/mozilla/layout/reftests/bugs/368155-1-ref.xhtml
new file mode 100644
index 00000000000..d68e227d99c
--- /dev/null
+++ b/mozilla/layout/reftests/bugs/368155-1-ref.xhtml
@@ -0,0 +1,10 @@
+
+
+
+
+ Bug 368155 Reference
+
+
+All of this text should be on one line
+
+
diff --git a/mozilla/layout/reftests/bugs/368155-1.xhtml b/mozilla/layout/reftests/bugs/368155-1.xhtml
new file mode 100644
index 00000000000..6b1ced944b3
--- /dev/null
+++ b/mozilla/layout/reftests/bugs/368155-1.xhtml
@@ -0,0 +1,10 @@
+
+
+
+
+ Bug 368155
+
+
+All of this text should be on one line
+
+
diff --git a/mozilla/layout/reftests/bugs/reftest.list b/mozilla/layout/reftests/bugs/reftest.list
index e774b6fdeaa..a581ad70776 100644
--- a/mozilla/layout/reftests/bugs/reftest.list
+++ b/mozilla/layout/reftests/bugs/reftest.list
@@ -209,6 +209,7 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") == 368020-2.html 368020-2-ref.html # bug 3
fails == 368020-3.html 368020-3-ref.html # bug 368085
fails == 368020-4.html 368020-4-ref.html # bug 368085
== 368020-5.html 368020-5-ref.html
+== 368155-1.xhtml 368155-1-ref.xhtml
== 368155-negative-margins-1.html 368155-negative-margins-1-ref.html
# we can't test this because there's antialiasing involved, and our comparison
# is too exact