diff --git a/tests/ref/basic.list b/tests/ref/basic.list
index 5e3e555c9c8..0d2b9b48549 100644
--- a/tests/ref/basic.list
+++ b/tests/ref/basic.list
@@ -118,7 +118,6 @@ prefs:"layout.writing-mode.enabled" == iframe/size_attributes_vertical_writing_m
== incremental_letter_spacing_a.html incremental_letter_spacing_ref.html
== incremental_text_color_a.html incremental_text_color_ref.html
== inline_absolute_hypothetical_clip_a.html inline_absolute_hypothetical_clip_ref.html
-== inline_absolute_out_of_flow_a.html inline_absolute_out_of_flow_ref.html
!= inline_background_a.html inline_background_ref.html
== inline_block_baseline_a.html inline_block_baseline_ref.html
== inline_block_block_direction_margins_a.html inline_block_block_direction_margins_ref.html
diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json
index da9931d4e5b..fdac339578a 100644
--- a/tests/wpt/mozilla/meta/MANIFEST.json
+++ b/tests/wpt/mozilla/meta/MANIFEST.json
@@ -707,6 +707,18 @@
"url": "/_mozilla/css/incremental_float_a.html"
}
],
+ "css/inline_absolute_out_of_flow_a.html": [
+ {
+ "path": "css/inline_absolute_out_of_flow_a.html",
+ "references": [
+ [
+ "/_mozilla/css/inline_absolute_out_of_flow_ref.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/inline_absolute_out_of_flow_a.html"
+ }
+ ],
"css/inline_block_border_a.html": [
{
"path": "css/inline_block_border_a.html",
@@ -4320,6 +4332,18 @@
"url": "/_mozilla/css/incremental_float_a.html"
}
],
+ "css/inline_absolute_out_of_flow_a.html": [
+ {
+ "path": "css/inline_absolute_out_of_flow_a.html",
+ "references": [
+ [
+ "/_mozilla/css/inline_absolute_out_of_flow_ref.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/inline_absolute_out_of_flow_a.html"
+ }
+ ],
"css/inline_block_border_a.html": [
{
"path": "css/inline_block_border_a.html",
diff --git a/tests/ref/inline_absolute_out_of_flow_a.html b/tests/wpt/mozilla/tests/css/inline_absolute_out_of_flow_a.html
similarity index 77%
rename from tests/ref/inline_absolute_out_of_flow_a.html
rename to tests/wpt/mozilla/tests/css/inline_absolute_out_of_flow_a.html
index b16d5754fb1..c66ac641b21 100644
--- a/tests/ref/inline_absolute_out_of_flow_a.html
+++ b/tests/wpt/mozilla/tests/css/inline_absolute_out_of_flow_a.html
@@ -1,4 +1,5 @@
+