tor-browser

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

495385-2e.html (1058B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4 <!-- Test that reframing content stops suppression around it correctly
      5     and that setting text content twice works. Setting text node contents
      6     twice may fail if we create a frame, then reframe, and botch the second
      7     reframe. -->
      8 <style>
      9 body > div { border:1px solid black; margin:1em;
     10             font-family:sans-serif; letter-spacing:2px; }
     11 </style>
     12 <script>
     13 function loaded() {
     14  document.body.offsetHeight;
     15  document.getElementById("d1").style.display = 'inline';
     16  document.getElementById("d2").style.display = 'inline';
     17  document.getElementById("d3").firstChild.data = "H ";
     18  document.getElementById("d3").firstChild.data = "Hello ";
     19  document.getElementById("d4").lastChild.data = " K";
     20  document.getElementById("d4").lastChild.data = " Kitty";
     21 }
     22 </script>
     23 </head>
     24 <body onload="loaded()">
     25  <div><div id="d1">Hello</div> <span>Kitty</span></div>
     26  <div><span>Hello</span> <div id="d2">Kitty</div></div>
     27  <div id="d3"> <span>Kitty</span></div>
     28  <div id="d4"><span>Hello</span> </div>
     29 </body>
     30 </html>