layout/base/crashtests/358729-1.xhtml

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 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     2 <head>
     3 <script>
     4 <![CDATA[
     6 var HTML_NS = "http://www.w3.org/1999/xhtml";
     8 function foo()
     9 {
    10   var DIVa = document.getElementById('a'); 
    12   var DIVb = document.createElementNS(HTML_NS, 'div'); 
    13   DIVb.appendChild(document.createTextNode('DIVb')); 
    14   DIVa.appendChild(DIVb);
    16   document.body.offsetHeight; 
    18   var DIVc = document.createElementNS(HTML_NS, 'div'); 
    19   DIVc.appendChild(document.createTextNode('DIVc'));
    20   DIVb.appendChild(DIVc);
    22   document.documentElement.removeAttribute("class");
    23 }
    25 ]]>
    26 </script>
    27 </head>
    29 <body onload="setTimeout(foo, 30)">
    31 <div>
    33 <table border="1">
    34   <tr>
    35     <td>
    36       <span dir="ltr">
    37         span
    38         <th>
    39           <div id="a"></div>
    40         </th>
    41       </span>
    42     </td>
    43   </tr>
    44 </table>
    46 <div><span dir="rtl">RTL</span></div>
    47 </div>
    51 </body>
    52 </html>

mercurial