diff --git a/mozilla/layout/reftests/bugs/400826-1-ref.html b/mozilla/layout/reftests/bugs/400826-1-ref.html
new file mode 100644
index 00000000000..4bfcd54cc04
--- /dev/null
+++ b/mozilla/layout/reftests/bugs/400826-1-ref.html
@@ -0,0 +1,7 @@
+
+
+
+Hello
+
HELLO
kitty
+
+
diff --git a/mozilla/layout/reftests/bugs/400826-1.html b/mozilla/layout/reftests/bugs/400826-1.html
new file mode 100644
index 00000000000..29d489e96e5
--- /dev/null
+++ b/mozilla/layout/reftests/bugs/400826-1.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+hello
+
hello
kitty
+
+
diff --git a/mozilla/layout/reftests/bugs/reftest.list b/mozilla/layout/reftests/bugs/reftest.list
index 6124436f3ea..ef0ef46827d 100644
--- a/mozilla/layout/reftests/bugs/reftest.list
+++ b/mozilla/layout/reftests/bugs/reftest.list
@@ -435,3 +435,4 @@ fails == 393655-2.html 393655-2-ref.html # Remove 'fails' when 393655 lands
== 400171-2b.html 400171-2-ref.html
== 400171-2c.html 400171-2-ref.html
== 400421-1.html 400421-1-ref.html
+== 400826-1.html 400826-1-ref.html