layout/reftests/invalidation/table-repaint-c.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/invalidation/table-repaint-c.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait"><head>
     1.6 +<title>table-repaint-c</title>
     1.7 +<style>
     1.8 +td {
     1.9 +width: 50px;
    1.10 +height: 50px;
    1.11 +}
    1.12 +</style>
    1.13 +</head>
    1.14 +<body>
    1.15 +<table>
    1.16 + <col id="foo">
    1.17 + <tbody>
    1.18 +  <tr>
    1.19 +   <td bgcolor="black"></td>
    1.20 +   <td bgcolor="lime"></td>
    1.21 +  </tr>
    1.22 + </tbody>
    1.23 +</table>
    1.24 +<script>
    1.25 +function foo() {
    1.26 +var x=document.getElementById("foo");
    1.27 +x.style.visibility = 'collapse';
    1.28 +document.documentElement.removeAttribute("class");
    1.29 +}
    1.30 +document.addEventListener("MozReftestInvalidate", foo, false);
    1.31 +</script>
    1.32 +</body>
    1.33 +</html>

mercurial