layout/tables/crashtests/323604-2.xhtml

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 2 <head>
michael@0 3
michael@0 4 <script>
michael@0 5
michael@0 6 var HTML_NS = "http://www.w3.org/1999/xhtml";
michael@0 7
michael@0 8 function foo() {
michael@0 9 var table = document.getElementById("table");
michael@0 10 var newRow = document.createElementNS(HTML_NS, 'tr');
michael@0 11 table.insertBefore(newRow, document.getElementById('lastrow'));
michael@0 12 }
michael@0 13
michael@0 14
michael@0 15 doc = document;
michael@0 16
michael@0 17 </script>
michael@0 18
michael@0 19 </head>
michael@0 20
michael@0 21
michael@0 22 <body onload="setTimeout(foo, 300);">
michael@0 23
michael@0 24
michael@0 25 <h3>Tables</h3>
michael@0 26
michael@0 27
michael@0 28 <table id="table" border="1" style="border-collapse: collapse">
michael@0 29
michael@0 30 <tr>
michael@0 31 <col></col>
michael@0 32 <td rowspan="2">TD</td>
michael@0 33 </tr>
michael@0 34
michael@0 35 <tr id="lastrow">
michael@0 36 <td width="50%">TD</td>
michael@0 37 </tr>
michael@0 38
michael@0 39 </table>
michael@0 40
michael@0 41
michael@0 42 </body>
michael@0 43 </html>

mercurial