summaryrefslogtreecommitdiffstats
path: root/layout/reftests/reftest-sanity/invalidation.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/reftest-sanity/invalidation.html')
-rw-r--r--layout/reftests/reftest-sanity/invalidation.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/reftest-sanity/invalidation.html b/layout/reftests/reftest-sanity/invalidation.html
new file mode 100644
index 0000000000..85c3a16fd3
--- /dev/null
+++ b/layout/reftests/reftest-sanity/invalidation.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML>
+<html class="reftest-wait">
+<body style="border:10px solid pink;">
+<script>
+ function doTest() {
+ document.body.style.border = "";
+ document.documentElement.removeAttribute('class');
+}
+document.addEventListener("MozReftestInvalidate", doTest);
+</script>
+</body>
+</html>