tor-browser

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

display-contents-suppression-dynamic.html (481B)


      1 <!doctype html>
      2 <body>
      3 <script>
      4  const SVG_NS = "http://www.w3.org/2000/svg";
      5  let g = document.createElementNS(SVG_NS, "g");
      6  g.style.display = "contents";
      7  document.body.appendChild(g);
      8  // The only difference between this test and the ref is this flush, this
      9  // tests we're consistent.
     10  g.offsetTop;
     11  let div = document.createElement('div');
     12  div.style.width = div.style.height = "100px";
     13  div.style.backgroundColor = "green";
     14  g.appendChild(div);
     15 </script>
     16 </body>