diff --git a/tests/ref/basic.list b/tests/ref/basic.list
index 58f47424686..12b0fc539f7 100644
--- a/tests/ref/basic.list
+++ b/tests/ref/basic.list
@@ -159,7 +159,6 @@ flaky_cpu == linebreak_simple_a.html linebreak_simple_b.html
== list_style_position_a.html list_style_position_ref.html
!= list_style_type_a.html list_style_type_ref.html
== margin_a.html margin_b.html
-== margin_padding_inline_block_a.html margin_padding_inline_block_ref.html
== marker_block_direction_placement_a.html marker_block_direction_placement_ref.html
!= noteq_attr_exists_selector.html attr_exists_selector_ref.html
!= octicons_a.html octicons_ref.html
diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json
index 221d1bea8a6..10052f2d268 100644
--- a/tests/wpt/mozilla/meta/MANIFEST.json
+++ b/tests/wpt/mozilla/meta/MANIFEST.json
@@ -1031,6 +1031,18 @@
"url": "/_mozilla/css/many_brs_a.html"
}
],
+ "css/margin_padding_inline_block_a.html": [
+ {
+ "path": "css/margin_padding_inline_block_a.html",
+ "references": [
+ [
+ "/_mozilla/css/margin_padding_inline_block_ref.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/margin_padding_inline_block_a.html"
+ }
+ ],
"css/margins_inside_floats_a.html": [
{
"path": "css/margins_inside_floats_a.html",
@@ -4500,6 +4512,18 @@
"url": "/_mozilla/css/many_brs_a.html"
}
],
+ "css/margin_padding_inline_block_a.html": [
+ {
+ "path": "css/margin_padding_inline_block_a.html",
+ "references": [
+ [
+ "/_mozilla/css/margin_padding_inline_block_ref.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/margin_padding_inline_block_a.html"
+ }
+ ],
"css/margins_inside_floats_a.html": [
{
"path": "css/margins_inside_floats_a.html",
diff --git a/tests/ref/margin_padding_inline_block_a.html b/tests/wpt/mozilla/tests/css/margin_padding_inline_block_a.html
similarity index 80%
rename from tests/ref/margin_padding_inline_block_a.html
rename to tests/wpt/mozilla/tests/css/margin_padding_inline_block_a.html
index d2a8f5d4b82..aed899a2574 100644
--- a/tests/ref/margin_padding_inline_block_a.html
+++ b/tests/wpt/mozilla/tests/css/margin_padding_inline_block_a.html
@@ -1,4 +1,5 @@
+