diff --git a/layout/reftests/bidi/logicalmarquee.html b/layout/reftests/bidi/logicalmarquee.html
new file mode 100644
index 00000000000..d979584d047
--- /dev/null
+++ b/layout/reftests/bidi/logicalmarquee.html
@@ -0,0 +1,11 @@
+
+
+
+
+ Marquee in Logical Hebrew
+
+
+
+
+
+
diff --git a/layout/reftests/bidi/marquee-ref.html b/layout/reftests/bidi/marquee-ref.html
new file mode 100644
index 00000000000..b145d4cea2c
--- /dev/null
+++ b/layout/reftests/bidi/marquee-ref.html
@@ -0,0 +1,11 @@
+
+
+
+
+ Marquee in Logical Hebrew
+
+
+
+ עד שיפוח היום ונסו הצלילים
+
+
diff --git a/layout/reftests/bidi/reftest.list b/layout/reftests/bidi/reftest.list
index e4cfcc3a22f..ea06eff700a 100644
--- a/layout/reftests/bidi/reftest.list
+++ b/layout/reftests/bidi/reftest.list
@@ -9,6 +9,8 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") == bidi-004-j.html bidi-004-ref.html
== bidi-005.html bidi-005-ref.html
== bidi-006.html bidi-006-ref.html
== bidi-006-j.html bidi-006-ref.html
+== visualmarquee.html marquee-ref.html
+== logicalmarquee.html marquee-ref.html
# test for glyph mirroring in right-to-left text
== mirroring-01.html mirroring-01-ref.html
# quote marks are not supposed to mirror, but Unicode 5.0 said they should, so some systems do it
diff --git a/layout/reftests/bidi/visualmarquee.html b/layout/reftests/bidi/visualmarquee.html
new file mode 100644
index 00000000000..c7105ed8d1d
--- /dev/null
+++ b/layout/reftests/bidi/visualmarquee.html
@@ -0,0 +1,11 @@
+
+
+
+
+ Marquee in Visual Hebrew
+
+
+
+
+
+