summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/harness/test/testdata/reftest/reftest_wait_0.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/harness/test/testdata/reftest/reftest_wait_0.html')
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_wait_0.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_wait_0.html b/testing/web-platform/harness/test/testdata/reftest/reftest_wait_0.html
new file mode 100644
index 000000000..0088c0cab
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_wait_0.html
@@ -0,0 +1,11 @@
+<title>rel=match that should fail</title>
+<link rel=match href=red.html>
+<style>
+:root {background-color:red}
+</style>
+<body class="reftest-wait">
+<script>
+setTimeout(function() {
+ document.documentElement.style.backgroundColor = "green";
+ body.className = "";
+}, 2000); \ No newline at end of file