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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3 <head>
     4  <title>table-repaint-a</title>
     5 </head>
     6 <body>
     7 <table>
     8  <tr>
     9   <td bgcolor="black"></td>
    10   <td bgcolor="lime"></td>
    11  </tr>
    12 </table>
    13 <script>
    14 function foo() {
    15  var x=document.getElementsByTagName('td')[0];
    16  x.style.display = 'none';
    17  document.documentElement.removeAttribute("class");
    18 }
    19 document.addEventListener("MozReftestInvalidate", foo, false);
    20 </script>
    21 </body>
    22 </html>

mercurial