diff --git a/mozilla/layout/reftests/bugs/98223-1-ref.html b/mozilla/layout/reftests/bugs/98223-1-ref.html
new file mode 100644
index 00000000000..34b7fa7b19b
--- /dev/null
+++ b/mozilla/layout/reftests/bugs/98223-1-ref.html
@@ -0,0 +1,27 @@
+
+
+
+
+Testcase #1 for bug 98223
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/layout/reftests/bugs/98223-1.html b/mozilla/layout/reftests/bugs/98223-1.html
new file mode 100644
index 00000000000..7b220a97ec4
--- /dev/null
+++ b/mozilla/layout/reftests/bugs/98223-1.html
@@ -0,0 +1,29 @@
+
+
+
+
+Testcase #1 for bug 98223
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/layout/reftests/bugs/98223-2-ref.html b/mozilla/layout/reftests/bugs/98223-2-ref.html
new file mode 100644
index 00000000000..7cf3cceca34
--- /dev/null
+++ b/mozilla/layout/reftests/bugs/98223-2-ref.html
@@ -0,0 +1,26 @@
+
+
+
+
+Testcase #2 for bug 98223
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/layout/reftests/bugs/98223-2.html b/mozilla/layout/reftests/bugs/98223-2.html
new file mode 100644
index 00000000000..3f28c6c7b16
--- /dev/null
+++ b/mozilla/layout/reftests/bugs/98223-2.html
@@ -0,0 +1,28 @@
+
+
+
+
+Testcase #2 for bug 98223
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/layout/reftests/reftest.list b/mozilla/layout/reftests/reftest.list
index f342a39c052..eb3d63738d4 100644
--- a/mozilla/layout/reftests/reftest.list
+++ b/mozilla/layout/reftests/reftest.list
@@ -49,6 +49,8 @@ random-if(MOZ_WIDGET_TOOLKIT=="windows") == bugs/28811-1a.html bugs/28811-1-ref.
random-if(MOZ_WIDGET_TOOLKIT=="windows") == bugs/28811-1b.html bugs/28811-1-ref.html # bug 369040
random-if(MOZ_WIDGET_TOOLKIT=="windows") == bugs/28811-2a.html bugs/28811-2-ref.html # bug 369040
random-if(MOZ_WIDGET_TOOLKIT=="windows") == bugs/28811-2b.html bugs/28811-2-ref.html # bug 369040
+== bugs/98223-1.html bugs/98223-1-ref.html
+== bugs/98223-2.html bugs/98223-2-ref.html
random-if(MOZ_WIDGET_TOOLKIT=="windows") == bugs/142233-1.html bugs/142233-1-ref.html # bug 369040
== bugs/163504-1a.html bugs/163504-1-ref.html
== bugs/163504-1b.html bugs/163504-1-ref.html