layout/reftests/bugs/492661-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/492661-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<script type="text/javascript">
     1.8 +function boom()
     1.9 +{
    1.10 +  var tbody = document.getElementById("tbody");
    1.11 +  var table = tbody.parentNode;
    1.12 +  table.removeChild(tbody);
    1.13 +  document.documentElement.offsetHeight;
    1.14 +  table.appendChild(tbody);
    1.15 +}
    1.16 +</script>
    1.17 +</head>
    1.18 +
    1.19 +<body onload="boom();">
    1.20 +
    1.21 +<table>
    1.22 +<col>
    1.23 +<col style="visibility: collapse;"><col>
    1.24 +<tbody id="tbody">
    1.25 +  <tr>
    1.26 +    <td>one</td>
    1.27 +    <td>two</td>
    1.28 +  </tr>
    1.29 +  <tr>
    1.30 +    <td>one</td>
    1.31 +    <td>two</td>
    1.32 +  </tr>
    1.33 +</tbody>
    1.34 +</table>
    1.35 +
    1.36 +</body>
    1.37 +</html>

mercurial