layout/tables/crashtests/347725-1.xhtml
author vladimir@pobox.com
Tue, 18 Mar 2008 13:30:16 -0700
changeset 13263 601ea65a1056a0594fb2514e6c8387d2794c99f1
parent 9274 e0690f052ae7376473d491dfe49f2fd2dbf65f18
permissions -rw-r--r--
b=422661, long table border rendered incompletely (wrong coordinate conditioning in gfxRect), r+sr=roc

<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<script>

function foo()
{
  var e = document.createElement("td"); 
  document.getElementById("h").appendChild(e); 
  
  e.setAttribute("rowspan", 2); 
  e.setAttribute("colspan", 3);
  
  var tbody = document.getElementById("tbody"); 
  tbody.parentNode.removeChild(tbody);
  
  document.documentElement.removeAttribute("class");
}

</script>

</head>

<body onload="setTimeout(foo, 30)">

<table id="table1">
  <thead style="visibility: collapse">
    <tr id="h"><td rowspan="2">A</td></tr>
  </thead>
  <tfoot>
    <tr><td rowspan="2" colspan="0">B</td></tr>
    <tr><td>C</td></tr>
  </tfoot>
  <tbody id="tbody">
    <tr><td>D</td></tr>
  </tbody>
</table>

</body>
</html>