diff --git a/tests/ref/basic.list b/tests/ref/basic.list
index 0675b830704..84c99bbeb0f 100644
--- a/tests/ref/basic.list
+++ b/tests/ref/basic.list
@@ -220,7 +220,6 @@ flaky_cpu == linebreak_simple_a.html linebreak_simple_b.html
== opacity_stacking_context_a.html opacity_stacking_context_ref.html
== outline_offset_a.html outline_offset_ref.html
== outlines_simple_a.html outlines_simple_ref.html
-== outlines_wrap_a.html outlines_wrap_ref.html
!= outset_blackborder.html blackborder_ref.html
# Should be == with expected failure. See #2797
!= overconstrained_block.html overconstrained_block_ref.html
diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json
index ff2dc29ae07..02650d29874 100644
--- a/tests/wpt/mozilla/meta/MANIFEST.json
+++ b/tests/wpt/mozilla/meta/MANIFEST.json
@@ -683,6 +683,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
+ "css/outlines_wrap_a.html": [
+ {
+ "path": "css/outlines_wrap_a.html",
+ "references": [
+ [
+ "/_mozilla/css/outlines_wrap_ref.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/outlines_wrap_a.html"
+ }
+ ],
"css/outset.html": [
{
"path": "css/outset.html",
@@ -3420,6 +3432,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
+ "css/outlines_wrap_a.html": [
+ {
+ "path": "css/outlines_wrap_a.html",
+ "references": [
+ [
+ "/_mozilla/css/outlines_wrap_ref.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/outlines_wrap_a.html"
+ }
+ ],
"css/outset.html": [
{
"path": "css/outset.html",
diff --git a/tests/ref/outlines_wrap_a.html b/tests/wpt/mozilla/tests/css/outlines_wrap_a.html
similarity index 86%
rename from tests/ref/outlines_wrap_a.html
rename to tests/wpt/mozilla/tests/css/outlines_wrap_a.html
index d34a797d456..732333be2a0 100644
--- a/tests/ref/outlines_wrap_a.html
+++ b/tests/wpt/mozilla/tests/css/outlines_wrap_a.html
@@ -1,5 +1,6 @@
+