diff --git a/dlls/mshtml/tests/elements.js b/dlls/mshtml/tests/dom.js
similarity index 100%
rename from dlls/mshtml/tests/elements.js
rename to dlls/mshtml/tests/dom.js
diff --git a/dlls/mshtml/tests/rsrc.rc b/dlls/mshtml/tests/rsrc.rc
index 3ce867e312c..05bc836ac60 100644
--- a/dlls/mshtml/tests/rsrc.rc
+++ b/dlls/mshtml/tests/rsrc.rc
@@ -49,8 +49,8 @@ navigation.js HTML "navigation.js"
/* @makedep: xhr.js */
xhr.js HTML "xhr.js"
-/* @makedep: elements.js */
-elements.js HTML "elements.js"
+/* @makedep: dom.js */
+dom.js HTML "dom.js"
/* @makedep: es5.js */
es5.js HTML "es5.js"
diff --git a/dlls/mshtml/tests/script.c b/dlls/mshtml/tests/script.c
index e5466499bbf..b2a9746865d 100644
--- a/dlls/mshtml/tests/script.c
+++ b/dlls/mshtml/tests/script.c
@@ -3475,7 +3475,7 @@ static void run_js_tests(void)
run_script_as_http_with_mode("xhr.js", NULL, "9");
run_script_as_http_with_mode("xhr.js", NULL, "11");
- run_script_as_http_with_mode("elements.js", NULL, "11");
+ run_script_as_http_with_mode("dom.js", NULL, "11");
run_script_as_http_with_mode("es5.js", NULL, "11");
run_script_as_http_with_mode("events.js", NULL, "9");
run_script_as_http_with_mode("navigation.js", NULL, NULL);