layout/reftests/table-dom/deleteCol3.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial