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

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE html>
     2 <html class="reftest-wait"><head>
     3 <title>table-repaint-c</title>
     4 <style>
     5 td {
     6 width: 50px;
     7 height: 50px;
     8 }
     9 </style>
    10 </head>
    11 <body>
    12 <table>
    13  <col id="foo">
    14  <tbody>
    15   <tr>
    16    <td bgcolor="black"></td>
    17    <td bgcolor="lime"></td>
    18   </tr>
    19  </tbody>
    20 </table>
    21 <script>
    22 function foo() {
    23 var x=document.getElementById("foo");
    24 x.style.visibility = 'collapse';
    25 document.documentElement.removeAttribute("class");
    26 }
    27 document.addEventListener("MozReftestInvalidate", foo, false);
    28 </script>
    29 </body>
    30 </html>

mercurial