layout/reftests/invalidation/table-repaint-e.html
author Chris H-C <chutten@mozilla.com>
Fri, 22 Mar 2019 17:31:02 +0000
changeset 465740 c3d4eb5b3b2223aa6734bb8c2d39457ee768fc3c
parent 422599 60e4f650a3eb3626a1daaeec1004b28365086f9b
permissions -rw-r--r--
Bug 1536805 - Document Origin Telemetry r=janerik Differential Revision: https://phabricator.services.mozilla.com/D24263

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<title>table-repaint-e</title>
<style>
table {
  border-collapse: collapse;
}
tr {
  border: 1px solid transparent;
}
</style>
</head>
<body>
<table
  <tr>
    <td>
      <div>one</div>
    </td>
    <td id="x" style="border: 1px solid black">
      <div>two</div>
    </td>
  </tr
  <tr>
    <td>
      <div>three</div>
    </td>
    <td>
      <div>four</div>
    </td>
  </tr>
</table>
<script>
  function doTest() {
    var t = document.getElementById("x");
    t.style.border = "initial";
    document.documentElement.removeAttribute("class");
  }
document.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>