diff --git a/layout/reftests/writing-mode/1135361-ruby-justify-1-ref.html b/layout/reftests/writing-mode/1135361-ruby-justify-1-ref.html
new file mode 100644
index 00000000000..d7d64b3fa97
--- /dev/null
+++ b/layout/reftests/writing-mode/1135361-ruby-justify-1-ref.html
@@ -0,0 +1,45 @@
+
+
+
+
+ Test for bug 1135361
+
+
+
+
+
+
+
diff --git a/layout/reftests/writing-mode/1135361-ruby-justify-1.html b/layout/reftests/writing-mode/1135361-ruby-justify-1.html
new file mode 100644
index 00000000000..810a4e5908c
--- /dev/null
+++ b/layout/reftests/writing-mode/1135361-ruby-justify-1.html
@@ -0,0 +1,46 @@
+
+
+
+
+ Test for bug 1135361
+
+
+
+
+
+
+
diff --git a/layout/reftests/writing-mode/reftest.list b/layout/reftests/writing-mode/reftest.list
index f56b5cd837a..4ce88f431c6 100644
--- a/layout/reftests/writing-mode/reftest.list
+++ b/layout/reftests/writing-mode/reftest.list
@@ -103,3 +103,4 @@ HTTP(..) == 1127488-align-end-vertical-lr-ltr.html 1127488-align-bottom-left-ref
HTTP(..) == 1127488-align-left-vertical-lr-ltr.html 1127488-align-top-left-ref.html
HTTP(..) == 1127488-align-right-vertical-lr-ltr.html 1127488-align-bottom-left-ref.html
== 1131013-vertical-bidi.html 1131013-vertical-bidi-ref.html
+fails-if(B2G) == 1135361-ruby-justify-1.html 1135361-ruby-justify-1-ref.html # bug 1136067