diff --git a/layout/reftests/bugs/615121-1-ref.html b/layout/reftests/bugs/615121-1-ref.html
new file mode 100644
index 00000000000..c1993abcfb1
--- /dev/null
+++ b/layout/reftests/bugs/615121-1-ref.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
The letter and diacritic should be hidden by the black box:
+
+
+
+
+
diff --git a/layout/reftests/bugs/615121-1.html b/layout/reftests/bugs/615121-1.html
new file mode 100644
index 00000000000..93e0937af6f
--- /dev/null
+++ b/layout/reftests/bugs/615121-1.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
The letter and diacritic should be hidden by the black box:
+
+ بٌّ
+
+
+
diff --git a/layout/reftests/bugs/615121-2-notref.html b/layout/reftests/bugs/615121-2-notref.html
new file mode 100644
index 00000000000..af23943c7cc
--- /dev/null
+++ b/layout/reftests/bugs/615121-2-notref.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
Diacritics should stack above the black box:
+
+
+
+
+
diff --git a/layout/reftests/bugs/615121-2.html b/layout/reftests/bugs/615121-2.html
new file mode 100644
index 00000000000..7fb9e3791f4
--- /dev/null
+++ b/layout/reftests/bugs/615121-2.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
Diacritics should stack above the black box:
+
+ ٹٌّؐ
+
+
+
diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list
index 3ff8ab9b479..fb784763972 100644
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1551,3 +1551,5 @@ fails-if(!haveTestPlugin) == 599476.html 599476-ref.html
== 613433-3.html 613433-1-ref.html
== 613433-3.html 613433-2-ref.html
== 613433-3.html 613433-3-ref.html
+HTTP(..) == 615121-1.html 615121-1-ref.html
+HTTP(..) != 615121-2.html 615121-2-notref.html