diff --git a/tests/ref/basic.list b/tests/ref/basic.list
index 41523a9a60f..06a295e41ce 100644
--- a/tests/ref/basic.list
+++ b/tests/ref/basic.list
@@ -301,7 +301,6 @@ resolution=300x300,device-pixel-ratio=2 != pixel_snapping_position_a.html pixel_
== simple_inline_absolute_containing_block_a.html simple_inline_absolute_containing_block_ref.html
== stacked_layers.html stacked_layers_ref.html
== stacking_context_overflow_a.html stacking_context_overflow_ref.html
-== stacking_context_overflow_relative_outline_a.html stacking_context_overflow_relative_outline_ref.html
# text_decoration_propagation_a.html text_decoration_propagation_b.html
!= text_decoration_smoke_a.html text_decoration_smoke_ref.html
!= text_decoration_underline_subpx_a.html text_decoration_underline_subpx_ref.html
diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json
index 6f5bebe605f..22558e401ec 100644
--- a/tests/wpt/mozilla/meta/MANIFEST.json
+++ b/tests/wpt/mozilla/meta/MANIFEST.json
@@ -591,6 +591,18 @@
"url": "/_mozilla/css/setpropertypriority.html"
}
],
+ "css/stacking_context_overflow_relative_outline_a.html": [
+ {
+ "path": "css/stacking_context_overflow_relative_outline_a.html",
+ "references": [
+ [
+ "/_mozilla/css/stacking_context_overflow_relative_outline_ref.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/stacking_context_overflow_relative_outline_a.html"
+ }
+ ],
"css/stacking_context_rtl.html": [
{
"path": "css/stacking_context_rtl.html",
@@ -2600,6 +2612,18 @@
"url": "/_mozilla/css/setpropertypriority.html"
}
],
+ "css/stacking_context_overflow_relative_outline_a.html": [
+ {
+ "path": "css/stacking_context_overflow_relative_outline_a.html",
+ "references": [
+ [
+ "/_mozilla/css/stacking_context_overflow_relative_outline_ref.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/stacking_context_overflow_relative_outline_a.html"
+ }
+ ],
"css/stacking_context_rtl.html": [
{
"path": "css/stacking_context_rtl.html",
diff --git a/tests/ref/stacking_context_overflow_relative_outline_a.html b/tests/wpt/mozilla/tests/css/stacking_context_overflow_relative_outline_a.html
similarity index 81%
rename from tests/ref/stacking_context_overflow_relative_outline_a.html
rename to tests/wpt/mozilla/tests/css/stacking_context_overflow_relative_outline_a.html
index 64b965063fc..65eee6d5bc5 100644
--- a/tests/ref/stacking_context_overflow_relative_outline_a.html
+++ b/tests/wpt/mozilla/tests/css/stacking_context_overflow_relative_outline_a.html
@@ -1,5 +1,6 @@
+