layout/reftests/table-dom/insertCols3.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <HEAD>
     2 <SCRIPT src=tableDom.js>
     3 </SCRIPT>
     4 <SCRIPT>
     6 function doIt() {
     7   var refCol = document.getElementsByTagName("COL")[2];
     8   var col = document.createElement("COL", null);
     9   col.width = 150;
    10   refCol.parentNode.insertBefore(col, refCol);
    11   // HTML5 parser implies a colgroup around col, so this test 
    12   // case should really be XHTML
    13 }
    14 </SCRIPT>  
    15 </HEAD>
    16 <BODY onload="doIt()">
    17 <table bgcolor=orange border>
    18  <col width=50>
    19  <col width=100>
    20  <col width=200>
    21  <tr>
    22   <td>50</td><td>100</td><td>150</td><td>200</td>
    23  </tr>
    24 </table>
    25 </BODY></HTML>

mercurial