diff --git a/layout/base/tests/bug1415416-ref.html b/layout/base/tests/bug1415416-ref.html
new file mode 100644
index 000000000000..ad3c8e85a3f0
--- /dev/null
+++ b/layout/base/tests/bug1415416-ref.html
@@ -0,0 +1,21 @@
+
+
+
+
+Test for Bug 1415416
+
+
+
+
+
+
+
+
diff --git a/layout/base/tests/bug1415416.html b/layout/base/tests/bug1415416.html
new file mode 100644
index 000000000000..74fff7fa7ba4
--- /dev/null
+++ b/layout/base/tests/bug1415416.html
@@ -0,0 +1,28 @@
+
+
+
+
+Test for Bug 1415416
+
+
+
+
+
+
+
+
diff --git a/layout/base/tests/mochitest.ini b/layout/base/tests/mochitest.ini
index cabcd897cf76..85722e655bcc 100644
--- a/layout/base/tests/mochitest.ini
+++ b/layout/base/tests/mochitest.ini
@@ -307,6 +307,8 @@ support-files =
bug1354478-6-ref.html
bug1359411.html
bug1359411-ref.html
+ bug1415416.html
+ bug1415416-ref.html
image_rgrg-256x256.png
input-invalid-ref.html
input-maxlength-invalid-change.html
diff --git a/layout/base/tests/test_reftests_with_caret.html b/layout/base/tests/test_reftests_with_caret.html
index 3b27b2889c38..7458bfbe1386 100644
--- a/layout/base/tests/test_reftests_with_caret.html
+++ b/layout/base/tests/test_reftests_with_caret.html
@@ -193,6 +193,7 @@ var tests = [
[ 'bug1354478-5.html' , 'bug1354478-5-ref.html'] ,
[ 'bug1354478-6.html' , 'bug1354478-6-ref.html'] ,
[ 'bug1359411.html' , 'bug1359411-ref.html' ] ,
+ [ 'bug1415416.html' , 'bug1415416-ref.html' ] ,
function() {SpecialPowers.pushPrefEnv({'clear': [['layout.accessiblecaret.enabled']]}, nextTest);} ,
];