diff --git a/tests/ref/basic.list b/tests/ref/basic.list
index 7f21c978d87..4d4d2fe99c9 100644
--- a/tests/ref/basic.list
+++ b/tests/ref/basic.list
@@ -297,7 +297,6 @@ resolution=300x300,device-pixel-ratio=2 != pixel_snapping_position_a.html pixel_
== rtl_simple.html rtl_simple_ref.html
== rtl_table_a.html rtl_table_ref.html
== servo_center_a.html servo_center_ref.html
-== setattribute_id_restyle_a.html setattribute_id_restyle_b.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 6775cc28f2b..e326da56711 100644
--- a/tests/wpt/mozilla/meta/MANIFEST.json
+++ b/tests/wpt/mozilla/meta/MANIFEST.json
@@ -579,6 +579,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
+ "css/setattribute_id_restyle_a.html": [
+ {
+ "path": "css/setattribute_id_restyle_a.html",
+ "references": [
+ [
+ "/_mozilla/css/setattribute_id_restyle_b.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/setattribute_id_restyle_a.html"
+ }
+ ],
"css/setpropertypriority.html": [
{
"path": "css/setpropertypriority.html",
@@ -2636,6 +2648,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
+ "css/setattribute_id_restyle_a.html": [
+ {
+ "path": "css/setattribute_id_restyle_a.html",
+ "references": [
+ [
+ "/_mozilla/css/setattribute_id_restyle_b.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/setattribute_id_restyle_a.html"
+ }
+ ],
"css/setpropertypriority.html": [
{
"path": "css/setpropertypriority.html",
diff --git a/tests/ref/setattribute_id_restyle_a.html b/tests/wpt/mozilla/tests/css/setattribute_id_restyle_a.html
similarity index 81%
rename from tests/ref/setattribute_id_restyle_a.html
rename to tests/wpt/mozilla/tests/css/setattribute_id_restyle_a.html
index 469ce797db7..68d6c02a375 100644
--- a/tests/ref/setattribute_id_restyle_a.html
+++ b/tests/wpt/mozilla/tests/css/setattribute_id_restyle_a.html
@@ -1,3 +1,4 @@
+
diff --git a/tests/ref/setattribute_id_restyle_b.html b/tests/wpt/mozilla/tests/css/setattribute_id_restyle_b.html
similarity index 100%
rename from tests/ref/setattribute_id_restyle_b.html
rename to tests/wpt/mozilla/tests/css/setattribute_id_restyle_b.html