summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/296361-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/296361-1.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/layout/reftests/bugs/296361-1.html b/layout/reftests/bugs/296361-1.html
new file mode 100644
index 0000000000..8bd89f4753
--- /dev/null
+++ b/layout/reftests/bugs/296361-1.html
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML>
+<html class="reftest-wait"><head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8">
+
+<style>
+
+table { border-right: solid 16px gold; }
+
+a { font-family: sans-serif; padding: 2px; }
+
+a:hover { color: red; }
+
+</style>
+ <script>
+ function doTest() {
+ var s1 = document.getElementById("target");
+ s1.style.color="red"
+ document.documentElement.removeAttribute('class');
+ }
+ document.addEventListener("MozReftestInvalidate", doTest);
+ </script>
+
+</head><body>
+<table cellpadding="4" rules="rows">
+
+ <tbody><tr>
+ <td><a href="#" id ="target"> move mouse over this text </a></td>
+ <td></td>
+ </tr>
+
+</tbody></table>
+</body></html> \ No newline at end of file