summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1488155.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/1488155.html')
-rw-r--r--layout/reftests/bugs/1488155.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1488155.html b/layout/reftests/bugs/1488155.html
new file mode 100644
index 0000000000..30e2cbf51d
--- /dev/null
+++ b/layout/reftests/bugs/1488155.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<html class="reftest-wait">
+<style>
+ :link {
+ color: green;
+ }
+</style>
+<a id="target">Should be green</a>
+<script>
+window.addEventListener("MozReftestInvalidate", function() {
+ target.setAttribute("href", "");
+ document.documentElement.className = "";
+});
+</script>