tor-browser

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

display-contents-suppression-dynamic-001.html (710B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Test: display: contents unboxing works in presence of dynamic changes to the tree.</title>
      4 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
      5 <link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-contents">
      6 <link rel="help" href="https://drafts.csswg.org/css-display-3/#unbox">
      7 <link rel="match" href="display-contents-suppression-dynamic-001-ref.html">
      8 <p>Test passes if you see nothing below.</p>
      9 <textarea style="display: contents">
     10  FAIL
     11 </textarea>
     12 <script>
     13  let textarea = document.querySelector("textarea");
     14  textarea.offsetTop;
     15  textarea.appendChild(document.createTextNode("FAIL"));
     16 </script>