layout/tables/crashtests/347725-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/tables/crashtests/347725-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,39 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     1.5 +<head>
     1.6 +<script>
     1.7 +
     1.8 +function foo()
     1.9 +{
    1.10 +  var e = document.createElement("td"); 
    1.11 +  document.getElementById("h").appendChild(e); 
    1.12 +  
    1.13 +  e.setAttribute("rowspan", 2); 
    1.14 +  e.setAttribute("colspan", 3);
    1.15 +  
    1.16 +  var tbody = document.getElementById("tbody"); 
    1.17 +  tbody.parentNode.removeChild(tbody);
    1.18 +  
    1.19 +  document.documentElement.removeAttribute("class");
    1.20 +}
    1.21 +
    1.22 +</script>
    1.23 +
    1.24 +</head>
    1.25 +
    1.26 +<body onload="setTimeout(foo, 30)">
    1.27 +
    1.28 +<table id="table1">
    1.29 +  <thead style="visibility: collapse">
    1.30 +    <tr id="h"><td rowspan="2">A</td></tr>
    1.31 +  </thead>
    1.32 +  <tfoot>
    1.33 +    <tr><td rowspan="2" colspan="0">B</td></tr>
    1.34 +    <tr><td>C</td></tr>
    1.35 +  </tfoot>
    1.36 +  <tbody id="tbody">
    1.37 +    <tr><td>D</td></tr>
    1.38 +  </tbody>
    1.39 +</table>
    1.40 +
    1.41 +</body>
    1.42 +</html>

mercurial