tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

missing-parent.html (679B)


      1 <!DOCTYPE html>
      2 <html class="test-wait">
      3 <style>
      4 .c0 { visibility: collapse; }
      5 .c4 { content: "x"; }
      6 </style>
      7 
      8 <div class="c0"><img usemap="#map2"></div>
      9 
     10 <table>
     11  <thead class="c4">x</thead>
     12 </table>
     13 
     14 <map name="map2">x</map>
     15 
     16 <script>
     17 const img = document.createElement('img');
     18 img.setAttribute('src', 'xyz.png');
     19 img.setAttribute('usemap', '#map2');
     20 const div = document.querySelector('div');
     21 document.documentElement.appendChild(div);
     22 
     23 requestAnimationFrame(() => {
     24  requestAnimationFrame(() => {
     25    const thead = document.querySelector('thead');
     26    thead.appendChild(img);
     27    div.className = '';
     28    document.documentElement.className = '';
     29  });
     30 });
     31 </script>
     32 </html>