diff --git a/layout/reftests/bugs/503531-1-ref.html b/layout/reftests/bugs/503531-1-ref.html
new file mode 100644
index 000000000000..e04c3886dad7
--- /dev/null
+++ b/layout/reftests/bugs/503531-1-ref.html
@@ -0,0 +1,23 @@
+
+
+ Testcase #1 for bug 503531
+
+
+
+BLOCK
+
+
+
diff --git a/layout/reftests/bugs/503531-1.html b/layout/reftests/bugs/503531-1.html
new file mode 100644
index 000000000000..3587d85b07bd
--- /dev/null
+++ b/layout/reftests/bugs/503531-1.html
@@ -0,0 +1,25 @@
+
+
+ Testcase #1 for bug 503531
+
+
+
+BLOCK
+
+
diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list
index 15589da8393b..9a5065da7133 100644
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1324,6 +1324,7 @@ fails-if(MOZ_WIDGET_TOOLKIT!="cocoa") == 488692-1.html 488692-1-ref.html # needs
== 503364-1a.html 503364-1-ref.html
== 503364-1b.html 503364-1-ref.html
== 503399.html 503399-ref.html
+== 503531-1.html 503531-1-ref.html
== 504032-1.html 504032-1-ref.html
== 505743-1.html about:blank
== 506481-1.html 506481-1-ref.html