diff --git a/tests/ref/400x400_green.png b/tests/ref/400x400_green.png
deleted file mode 100644
index 484469eb140..00000000000
Binary files a/tests/ref/400x400_green.png and /dev/null differ
diff --git a/tests/ref/basic.list b/tests/ref/basic.list
index b2fe1eb6462..ead25bc53d7 100644
--- a/tests/ref/basic.list
+++ b/tests/ref/basic.list
@@ -34,7 +34,6 @@ prefs:"layout.writing-mode.enabled" == iframe/size_attributes_vertical_writing_m
== iframe/stacking_context.html iframe/stacking_context_ref.html
== iframe/stacking_context_position_a.html iframe/stacking_context_position_ref.html
-!= img_simple.html img_simple_ref.html
!= inline_background_a.html inline_background_ref.html
== inline_block_margin_auto_a.html inline_block_margin_auto_ref.html
== inline_block_parent_width.html inline_block_parent_width_ref.html
diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json
index 22708bd88cb..340cbde980b 100644
--- a/tests/wpt/mozilla/meta/MANIFEST.json
+++ b/tests/wpt/mozilla/meta/MANIFEST.json
@@ -1643,6 +1643,18 @@
"url": "/_mozilla/css/img_padding_a.html"
}
],
+ "css/img_simple.html": [
+ {
+ "path": "css/img_simple.html",
+ "references": [
+ [
+ "/_mozilla/css/img_simple_ref.html",
+ "!="
+ ]
+ ],
+ "url": "/_mozilla/css/img_simple.html"
+ }
+ ],
"css/img_size_a.html": [
{
"path": "css/img_size_a.html",
@@ -6564,6 +6576,18 @@
"url": "/_mozilla/css/img_padding_a.html"
}
],
+ "css/img_simple.html": [
+ {
+ "path": "css/img_simple.html",
+ "references": [
+ [
+ "/_mozilla/css/img_simple_ref.html",
+ "!="
+ ]
+ ],
+ "url": "/_mozilla/css/img_simple.html"
+ }
+ ],
"css/img_size_a.html": [
{
"path": "css/img_size_a.html",
diff --git a/tests/ref/img_simple.html b/tests/wpt/mozilla/tests/css/img_simple.html
similarity index 52%
rename from tests/ref/img_simple.html
rename to tests/wpt/mozilla/tests/css/img_simple.html
index 056cef562c9..792efb30cc4 100644
--- a/tests/ref/img_simple.html
+++ b/tests/wpt/mozilla/tests/css/img_simple.html
@@ -1,3 +1,4 @@
+
Hello
diff --git a/tests/ref/img_simple_ref.html b/tests/wpt/mozilla/tests/css/img_simple_ref.html
similarity index 100%
rename from tests/ref/img_simple_ref.html
rename to tests/wpt/mozilla/tests/css/img_simple_ref.html