diff --git a/mozilla/layout/reftests/bugs/347912-1-ref.html b/mozilla/layout/reftests/bugs/347912-1-ref.html
new file mode 100644
index 00000000000..1d50b9f6123
--- /dev/null
+++ b/mozilla/layout/reftests/bugs/347912-1-ref.html
@@ -0,0 +1,14 @@
+
+
+
+Testcase, bug 347912
+
+
+
+
+
+
diff --git a/mozilla/layout/reftests/bugs/347912-1.html b/mozilla/layout/reftests/bugs/347912-1.html
new file mode 100644
index 00000000000..19d3d7026f4
--- /dev/null
+++ b/mozilla/layout/reftests/bugs/347912-1.html
@@ -0,0 +1,40 @@
+
+
+
+Testcase, bug 347912
+
+
+
+
+
+This is text
+
+
+
+
+This is text
+
+
+
+This is text
+This is text
+This is text
+This is text
+This is text
+This is text
+This is text
+This is text
+This is text
+This is text
+This is text
+This is text
+This is text
+
+
+
diff --git a/mozilla/layout/reftests/reftest.list b/mozilla/layout/reftests/reftest.list
index bcadce8588f..3fe1e6c18b0 100644
--- a/mozilla/layout/reftests/reftest.list
+++ b/mozilla/layout/reftests/reftest.list
@@ -6,6 +6,7 @@
# bugs/
== bugs/142233-1.html bugs/142233-1-ref.html
== bugs/339289-1.html bugs/339289-1-ref.html
+== bugs/347912-1.html bugs/347912-1-ref.html
== bugs/351641-1a.html bugs/351641-1-ref.html
== bugs/351641-1b.html bugs/351641-1-ref.html
== bugs/351641-2a.html bugs/351641-2-ref.html