diff --git a/layout/reftests/bugs/1005405-1-ref.html b/layout/reftests/bugs/1005405-1-ref.html
new file mode 100644
index 000000000000..eebc9027f5bc
--- /dev/null
+++ b/layout/reftests/bugs/1005405-1-ref.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+
diff --git a/layout/reftests/bugs/1005405-1.html b/layout/reftests/bugs/1005405-1.html
new file mode 100644
index 000000000000..a2b7d7233eea
--- /dev/null
+++ b/layout/reftests/bugs/1005405-1.html
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list
index 9b5e57dd9dc6..6533ccdc024c 100644
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1809,3 +1809,4 @@ skip-if(Android) == 966510-2.html 966510-2-ref.html # same as above
== 987680-1.html 987680-1-ref.html
fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,24) == 991046-1.html 991046-1-ref.html
pref(layout.css.overflow-clip-box.enabled,true) == 992447.html 992447-ref.html
+pref(layout.css.sticky.enabled,true) == 1005405-1.html 1005405-1-ref.html