diff --git a/tests/ref/background_ref.html b/tests/ref/background_ref.html
deleted file mode 100644
index 81f0d15e1fc..00000000000
--- a/tests/ref/background_ref.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/tests/ref/basic.list b/tests/ref/basic.list
index 444a7d8a9cf..8cb8d854f48 100644
--- a/tests/ref/basic.list
+++ b/tests/ref/basic.list
@@ -12,7 +12,6 @@ fragment=top != ../html/acid2.html acid2_ref.html
== acid1_a.html acid1_b.html
== acid2_noscroll.html acid2_ref_broken.html
flaky_cpu == append_style_a.html append_style_b.html
-== background_style_attr.html background_ref.html
== basic_width_px.html basic_width_em.html
== block_formatting_context_a.html block_formatting_context_ref.html
== block_formatting_context_cleared_float_a.html block_formatting_context_cleared_float_ref.html
diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json
index 69a7167f620..f4b712f40e4 100644
--- a/tests/wpt/mozilla/meta/MANIFEST.json
+++ b/tests/wpt/mozilla/meta/MANIFEST.json
@@ -411,6 +411,18 @@
"url": "/_mozilla/css/background_size_zero_a.html"
}
],
+ "css/background_style_attr.html": [
+ {
+ "path": "css/background_style_attr.html",
+ "references": [
+ [
+ "/_mozilla/css/background_rust_ref.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/background_style_attr.html"
+ }
+ ],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",
@@ -1604,6 +1616,18 @@
"url": "/_mozilla/css/background_size_zero_a.html"
}
],
+ "css/background_style_attr.html": [
+ {
+ "path": "css/background_style_attr.html",
+ "references": [
+ [
+ "/_mozilla/css/background_rust_ref.html",
+ "=="
+ ]
+ ],
+ "url": "/_mozilla/css/background_style_attr.html"
+ }
+ ],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",
diff --git a/tests/ref/background_style_attr.html b/tests/wpt/mozilla/tests/css/background_style_attr.html
similarity index 77%
rename from tests/ref/background_style_attr.html
rename to tests/wpt/mozilla/tests/css/background_style_attr.html
index 1879b52816b..71ab937ed00 100644
--- a/tests/ref/background_style_attr.html
+++ b/tests/wpt/mozilla/tests/css/background_style_attr.html
@@ -2,6 +2,7 @@
+