layout/tables/crashtests/580481-1.xhtml

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

     1 <html xmlns="http://www.w3.org/1999/xhtml">
     2 <head>
     3 <script>
     4 <![CDATA[
     6 var HTML_NS = "http://www.w3.org/1999/xhtml";
     7 function placeBefore(n, r) { r.parentNode.insertBefore(n, r); }
     9 function boom()
    10 {
    11   placeBefore(document.createElementNS(HTML_NS, 'td'), document.getElementById("td1"));
    12   placeBefore(document.createElementNS(HTML_NS, 'tr'), document.getElementById("tr1"));
    13 }
    15 ]]>
    16 </script>
    17 </head>
    19 <body onload="boom();">
    20 <table rules="groups"><tbody><tbody><tr id="tr1" style="border-left: 6px inset green;"><td id="td1"></td></tr></tbody></tbody></table>
    21 </body>
    23 </html>

mercurial