layout/reftests/table-dom/insertCellsZeroColspan.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/table-dom/insertCellsZeroColspan.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" 
     1.5 +"http://www.w3.org/TR/REC-html40/strict.dtd">
     1.6 +<HEAD>
     1.7 +
     1.8 +</HEAD>
     1.9 +<BODY>
    1.10 +<table bgcolor=orange border>
    1.11 +<tr>
    1.12 +  <td>c11</td><td>c12</td><td>c13</td><td>c14</td>
    1.13 +</tr>
    1.14 + <tr>
    1.15 +  <td id="c21">c21</td>
    1.16 + </tr>
    1.17 +</table>
    1.18 +
    1.19 +<script>
    1.20 +document.body.offsetWidth;
    1.21 +
    1.22 +c21 = document.getElementById("c21");
    1.23 +
    1.24 +td = document.createElement("td");
    1.25 +td.setAttribute("colspan", "0");
    1.26 +td.appendChild(document.createTextNode("X1"));
    1.27 +
    1.28 +c21.parentNode.insertBefore(td, c21.nextSibling);
    1.29 +</script>
    1.30 +
    1.31 +</BODY></HTML>

mercurial