summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/infrastructure/reftest/reftest_wait_0.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/infrastructure/reftest/reftest_wait_0.html')
-rw-r--r--testing/web-platform/tests/infrastructure/reftest/reftest_wait_0.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/infrastructure/reftest/reftest_wait_0.html b/testing/web-platform/tests/infrastructure/reftest/reftest_wait_0.html
new file mode 100644
index 0000000000..fec62a3cae
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/reftest/reftest_wait_0.html
@@ -0,0 +1,13 @@
+<html class="reftest-wait">
+<title>Test with reftest-wait</title>
+<link rel=match href=green.html>
+<style>
+:root {background-color:red}
+</style>
+<script>
+setTimeout(function() {
+ document.documentElement.style.backgroundColor = "green";
+ document.documentElement.className = "";
+}, 2000);
+</script>
+</html>