diff --git a/tests/ref/basic.list b/tests/ref/basic.list
index f0cfd3c2f42..fd5d92ec839 100644
--- a/tests/ref/basic.list
+++ b/tests/ref/basic.list
@@ -13,12 +13,6 @@ fragment=top != ../html/acid2.html acid2_ref.html
flaky_cpu == append_style_a.html append_style_b.html
# `?` and `#` in the name is a test for https://github.com/servo/servo/issues/3340
-# inline_border_a.html inline_border_b.html
-flaky_cpu == linebreak_simple_a.html linebreak_simple_b.html
-# Fails intermittently (#3636)
-# == link_style_dynamic_addition.html link_style_dynamic_addition_ref.html
-# Should be == with expected failure. See #2797
-!= overconstrained_block.html overconstrained_block_ref.html
# Should be ==?
!= overflow_position_abs_inside_normal_a.html overflow_position_abs_inside_normal_b.html
resolution=300x300,device-pixel-ratio=2 != pixel_snapping_border_a.html pixel_snapping_border_ref.html
diff --git a/tests/ref/inline_border_a.html b/tests/ref/inline_border_a.html
deleted file mode 100644
index 0f823180225..00000000000
--- a/tests/ref/inline_border_a.html
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/tests/ref/inline_border_b.html b/tests/ref/inline_border_b.html
deleted file mode 100644
index a5af77cc0cd..00000000000
--- a/tests/ref/inline_border_b.html
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/tests/ref/inline_border_ref.png b/tests/ref/inline_border_ref.png
deleted file mode 100644
index 5a80ec636c8..00000000000
Binary files a/tests/ref/inline_border_ref.png and /dev/null differ
diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json
index 8a152e381bb..e2b7aa33d2d 100644
--- a/tests/wpt/mozilla/meta/MANIFEST.json
+++ b/tests/wpt/mozilla/meta/MANIFEST.json
@@ -2719,6 +2719,30 @@
"url": "/_mozilla/css/linebreak_inline_span_a.html"
}
],
+ "css/linebreak_simple_a.html": [
+ {
+ "path": "css/linebreak_simple_a.html",
+ "references": [
+ [
+ "/_mozilla/css/linebreak_simple_b.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/linebreak_simple_a.html"
+ }
+ ],
+ "css/link_style_dynamic_addition.html": [
+ {
+ "path": "css/link_style_dynamic_addition.html",
+ "references": [
+ [
+ "/_mozilla/css/link_style_dynamic_addition_ref.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/link_style_dynamic_addition.html"
+ }
+ ],
"css/link_style_order.html": [
{
"path": "css/link_style_order.html",
@@ -3223,6 +3247,18 @@
"url": "/_mozilla/css/outset_blackborder.html"
}
],
+ "css/overconstrained_block.html": [
+ {
+ "path": "css/overconstrained_block.html",
+ "references": [
+ [
+ "/_mozilla/css/overconstrained_block_ref.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/overconstrained_block.html"
+ }
+ ],
"css/overflow_auto.html": [
{
"path": "css/overflow_auto.html",
@@ -8406,6 +8442,30 @@
"url": "/_mozilla/css/linebreak_inline_span_a.html"
}
],
+ "css/linebreak_simple_a.html": [
+ {
+ "path": "css/linebreak_simple_a.html",
+ "references": [
+ [
+ "/_mozilla/css/linebreak_simple_b.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/linebreak_simple_a.html"
+ }
+ ],
+ "css/link_style_dynamic_addition.html": [
+ {
+ "path": "css/link_style_dynamic_addition.html",
+ "references": [
+ [
+ "/_mozilla/css/link_style_dynamic_addition_ref.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/link_style_dynamic_addition.html"
+ }
+ ],
"css/link_style_order.html": [
{
"path": "css/link_style_order.html",
@@ -8910,6 +8970,18 @@
"url": "/_mozilla/css/outset_blackborder.html"
}
],
+ "css/overconstrained_block.html": [
+ {
+ "path": "css/overconstrained_block.html",
+ "references": [
+ [
+ "/_mozilla/css/overconstrained_block_ref.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/overconstrained_block.html"
+ }
+ ],
"css/overflow_auto.html": [
{
"path": "css/overflow_auto.html",
diff --git a/tests/ref/linebreak_simple_a.html b/tests/wpt/mozilla/tests/css/linebreak_simple_a.html
similarity index 78%
rename from tests/ref/linebreak_simple_a.html
rename to tests/wpt/mozilla/tests/css/linebreak_simple_a.html
index 0a9ee7bbb30..c4951b4af9e 100644
--- a/tests/ref/linebreak_simple_a.html
+++ b/tests/wpt/mozilla/tests/css/linebreak_simple_a.html
@@ -1,3 +1,4 @@
+
A hahahahahhahahhahahhahahhahahhahahhahahhahahahhahah fruitloopsfruitloopsfruitloops
diff --git a/tests/ref/linebreak_simple_b.html b/tests/wpt/mozilla/tests/css/linebreak_simple_b.html
similarity index 100%
rename from tests/ref/linebreak_simple_b.html
rename to tests/wpt/mozilla/tests/css/linebreak_simple_b.html
diff --git a/tests/ref/link_style_dynamic_addition.html b/tests/wpt/mozilla/tests/css/link_style_dynamic_addition.html
similarity index 77%
rename from tests/ref/link_style_dynamic_addition.html
rename to tests/wpt/mozilla/tests/css/link_style_dynamic_addition.html
index 791ceb07861..dbef3ea9e93 100644
--- a/tests/ref/link_style_dynamic_addition.html
+++ b/tests/wpt/mozilla/tests/css/link_style_dynamic_addition.html
@@ -1,5 +1,7 @@
-
+
+
+