layout/reftests/table-anonymous-boxes/338735-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/table-anonymous-boxes/338735-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +<head>
     1.7 +<style>
     1.8 +  #t {
     1.9 +    display: none;
    1.10 +  }
    1.11 +</style>
    1.12 +<script lang="JavaScript">
    1.13 +  function toggleLayer(id) {
    1.14 +      var s = document.getElementById(id).style;
    1.15 +      s.display = s.display ? "" : "block";
    1.16 +  }
    1.17 +
    1.18 +  function doTest() {
    1.19 +    toggleLayer('t');
    1.20 +    document.body.offsetWidth;
    1.21 +    toggleLayer('t');
    1.22 +    document.body.offsetWidth;
    1.23 +    toggleLayer('t');
    1.24 +    document.documentElement.className = "";
    1.25 +  }
    1.26 +</script>
    1.27 +</head>
    1.28 +<body onload="doTest()">
    1.29 +<table style="width: 100%;" border="5">
    1.30 +  <tr>
    1.31 +          <td id="t">First row</td>
    1.32 +  </tr>
    1.33 +  <tr>
    1.34 +          <td>Second row</td>
    1.35 +  </tr>
    1.36 +</table>
    1.37 +</body>
    1.38 +</html>

mercurial