layout/tables/crashtests/240854-1.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

michael@0 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
michael@0 2 <html lang="en">
michael@0 3 <head>
michael@0 4 <title>Table dom Column Handling crash</title>
michael@0 5
michael@0 6 <SCRIPT>
michael@0 7 function doIt() {
michael@0 8 var t = document.getElementById('t1');
michael@0 9 var c1 =document.getElementById('col2');
michael@0 10 t.removeChild(c1);
michael@0 11 }
michael@0 12 </SCRIPT>
michael@0 13 </HEAD>
michael@0 14 <BODY onload="doIt()">
michael@0 15 The 2 tables should look the same
michael@0 16 <table id="t1" bgcolor=orange border>
michael@0 17 <col width=100>
michael@0 18 <col width=200>
michael@0 19 <col id="col2" width=300>
michael@0 20 <tr>
michael@0 21 <td>100</td><td>200</td><td>auto</td>
michael@0 22 </tr>
michael@0 23 </table>
michael@0 24 <BR>
michael@0 25 <table bgcolor=orange border>
michael@0 26 <col width=100>
michael@0 27 <col width=200>
michael@0 28 <tr>
michael@0 29 <td>100</td><td>200</td><td>auto</td>
michael@0 30 </tr>
michael@0 31 </table>
michael@0 32
michael@0 33 </BODY>
michael@0 34 </HTML>
michael@0 35
michael@0 36
michael@0 37
michael@0 38
michael@0 39
michael@0 40

mercurial