diff --git a/tests/ref/basic.list b/tests/ref/basic.list
index 516fa073509..a9514bc4e5c 100644
--- a/tests/ref/basic.list
+++ b/tests/ref/basic.list
@@ -100,7 +100,6 @@ prefs:"layout.writing-mode.enabled" == iframe/size_attributes_vertical_writing_m
== img_block_maxwidth_a.html img_block_maxwidth_ref.html
== img_block_maxwidth_b.html img_block_maxwidth_ref.html
== img_dynamic_remove.html img_dynamic_remove_ref.html
-== img_padding_a.html img_padding_b.html
!= img_simple.html img_simple_ref.html
!= inline_background_a.html inline_background_ref.html
== inline_block_border_intrinsic_size_a.html inline_block_border_intrinsic_size_ref.html
diff --git a/tests/ref/img_padding_a.html b/tests/ref/img_padding_a.html
deleted file mode 100644
index 96a42ffa03c..00000000000
--- a/tests/ref/img_padding_a.html
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/tests/ref/img_padding_b.html b/tests/ref/img_padding_b.html
deleted file mode 100644
index 60893de6cae..00000000000
--- a/tests/ref/img_padding_b.html
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json
index 9703592bc19..6346a1e765b 100644
--- a/tests/wpt/mozilla/meta/MANIFEST.json
+++ b/tests/wpt/mozilla/meta/MANIFEST.json
@@ -803,6 +803,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
+ "css/img_padding_a.html": [
+ {
+ "path": "css/img_padding_a.html",
+ "references": [
+ [
+ "/_mozilla/css/img_padding_b.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/img_padding_a.html"
+ }
+ ],
"css/img_size_a.html": [
{
"path": "css/img_size_a.html",
@@ -4728,6 +4740,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
+ "css/img_padding_a.html": [
+ {
+ "path": "css/img_padding_a.html",
+ "references": [
+ [
+ "/_mozilla/css/img_padding_b.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/img_padding_a.html"
+ }
+ ],
"css/img_size_a.html": [
{
"path": "css/img_size_a.html",
diff --git a/tests/wpt/mozilla/tests/css/img_padding_a.html b/tests/wpt/mozilla/tests/css/img_padding_a.html
new file mode 100644
index 00000000000..e445f33fa06
--- /dev/null
+++ b/tests/wpt/mozilla/tests/css/img_padding_a.html
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/tests/wpt/mozilla/tests/css/img_padding_b.html b/tests/wpt/mozilla/tests/css/img_padding_b.html
new file mode 100644
index 00000000000..53ee894332d
--- /dev/null
+++ b/tests/wpt/mozilla/tests/css/img_padding_b.html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/tests/wpt/mozilla/tests/css/rust-0.png b/tests/wpt/mozilla/tests/css/rust-0.png
new file mode 100644
index 00000000000..20d93badf5e
Binary files /dev/null and b/tests/wpt/mozilla/tests/css/rust-0.png differ