diff --git a/layout/reftests/bugs/373383-1-ref.html b/layout/reftests/bugs/373383-1-ref.html
new file mode 100644
index 000000000000..43e778f44dcd
--- /dev/null
+++ b/layout/reftests/bugs/373383-1-ref.html
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
float right
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+
Long text long text long text long text long text long text long text long text long text long text long text long text long text
+
+
+
+
diff --git a/layout/reftests/bugs/373383-1.html b/layout/reftests/bugs/373383-1.html
new file mode 100644
index 000000000000..62ccd58ddca1
--- /dev/null
+++ b/layout/reftests/bugs/373383-1.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
float right
+
Long text long text long text long text long text long text long text long text long text long text long text long text long text
+
+
+
+
+
diff --git a/layout/reftests/bugs/383883-1-ref.html b/layout/reftests/bugs/383883-1-ref.html
new file mode 100644
index 000000000000..e3d57faa9fb0
--- /dev/null
+++ b/layout/reftests/bugs/383883-1-ref.html
@@ -0,0 +1,10 @@
+
+
+
+
+
+asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
+
+
diff --git a/layout/reftests/bugs/383883-1.html b/layout/reftests/bugs/383883-1.html
new file mode 100644
index 000000000000..fc0cf63facc5
--- /dev/null
+++ b/layout/reftests/bugs/383883-1.html
@@ -0,0 +1,10 @@
+
+
+
+
+
+asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
+
+
diff --git a/layout/reftests/bugs/383883-2-ref.html b/layout/reftests/bugs/383883-2-ref.html
new file mode 100644
index 000000000000..1caec494146c
--- /dev/null
+++ b/layout/reftests/bugs/383883-2-ref.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+asdf
+asdf
+asdf
+asdf
+asdf
+asdf
+asdf
+asdf
+
+
diff --git a/layout/reftests/bugs/383883-2.html b/layout/reftests/bugs/383883-2.html
new file mode 100644
index 000000000000..c4a97a78f1d8
--- /dev/null
+++ b/layout/reftests/bugs/383883-2.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+asdf
+asdf
+asdf
+asdf
+asdf
+asdf
+asdf
+asdf
+
+
diff --git a/layout/reftests/bugs/383883-3-ref.html b/layout/reftests/bugs/383883-3-ref.html
new file mode 100644
index 000000000000..2fecae186090
--- /dev/null
+++ b/layout/reftests/bugs/383883-3-ref.html
@@ -0,0 +1,9 @@
+
+
+
+
+
+asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
+
diff --git a/layout/reftests/bugs/383883-3.html b/layout/reftests/bugs/383883-3.html
new file mode 100644
index 000000000000..ecc9f95c4efb
--- /dev/null
+++ b/layout/reftests/bugs/383883-3.html
@@ -0,0 +1,9 @@
+
+
+
+
+
+asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
+
diff --git a/layout/reftests/bugs/383883-4-ref.html b/layout/reftests/bugs/383883-4-ref.html
new file mode 100644
index 000000000000..cdf08b140692
--- /dev/null
+++ b/layout/reftests/bugs/383883-4-ref.html
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+asdf
+asdf
+asdf
+asdf
+asdf
+asdf
+asdf
+asdf
+
diff --git a/layout/reftests/bugs/383883-4.html b/layout/reftests/bugs/383883-4.html
new file mode 100644
index 000000000000..09eeb2f1227d
--- /dev/null
+++ b/layout/reftests/bugs/383883-4.html
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+asdf
+asdf
+asdf
+asdf
+asdf
+asdf
+asdf
+asdf
+
diff --git a/layout/reftests/bugs/383884-1-ref.html b/layout/reftests/bugs/383884-1-ref.html
new file mode 100644
index 000000000000..9c6f88de94c7
--- /dev/null
+++ b/layout/reftests/bugs/383884-1-ref.html
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
diff --git a/layout/reftests/bugs/383884-1.html b/layout/reftests/bugs/383884-1.html
new file mode 100644
index 000000000000..8dac4f3e0b42
--- /dev/null
+++ b/layout/reftests/bugs/383884-1.html
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
diff --git a/layout/reftests/bugs/383885-1-ref.html b/layout/reftests/bugs/383885-1-ref.html
new file mode 100644
index 000000000000..68f4fe644b63
--- /dev/null
+++ b/layout/reftests/bugs/383885-1-ref.html
@@ -0,0 +1,7 @@
+
+
+
+
+
a
+
+asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
diff --git a/layout/reftests/bugs/383885-1.html b/layout/reftests/bugs/383885-1.html
new file mode 100644
index 000000000000..df96fffb33af
--- /dev/null
+++ b/layout/reftests/bugs/383885-1.html
@@ -0,0 +1,7 @@
+
+
+
+
+
a
+
+asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list
index a2f352d5a4d6..99b78f57a966 100644
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -299,6 +299,7 @@ fails == 368504-2.html 368504-2-ref.html # bug 368504
== 373433-1.html 373433-1-ref.html
== 372062-1.html 372062-1-ref.html
== 372768-1.html 372768-1-ref.html
+== 373383-1.html 373383-1-ref.html
== 374038-1.xul 374038-1-ref.xul
== 374038-2.xul 374038-2-ref.xul
== 374193-1.xhtml about:blank
@@ -331,6 +332,12 @@ random-if(MOZ_WIDGET_TOOLKIT=="cocoa") == 379316-2.html 379316-2-ref.html # bug
== 381507-1.html 381507-1-ref.html
== 382600-1.html 382600-1-ref.html
== 383551-1.html 383551-1-ref.html
+== 383883-1.html 383883-1-ref.html
+== 383883-2.html 383883-2-ref.html
+== 383883-3.html 383883-3-ref.html
+== 383883-4.html 383883-4-ref.html
+== 383884-1.html 383884-1-ref.html
+== 383885-1.html 383885-1-ref.html
== 384576-1.html 384576-1-ref.html
== 384762-1.html about:blank
== 384876-1.html 384876-1-ref.html