summaryrefslogtreecommitdiffstats
path: root/layout/reftests/invalidation/table-repaint-c.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/invalidation/table-repaint-c.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/layout/reftests/invalidation/table-repaint-c.html b/layout/reftests/invalidation/table-repaint-c.html
new file mode 100644
index 0000000000..11489b6169
--- /dev/null
+++ b/layout/reftests/invalidation/table-repaint-c.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html class="reftest-wait"><head>
+<title>table-repaint-c</title>
+<style>
+td {
+width: 50px;
+height: 50px;
+}
+</style>
+</head>
+<body>
+<table>
+ <col id="foo">
+ <tbody>
+ <tr>
+ <td bgcolor="black"></td>
+ <td bgcolor="lime"></td>
+ </tr>
+ </tbody>
+</table>
+<script>
+function foo() {
+var x=document.getElementById("foo");
+x.style.visibility = 'collapse';
+document.documentElement.removeAttribute("class");
+}
+document.addEventListener("MozReftestInvalidate", foo);
+</script>
+</body>
+</html>