tor-browser

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

invalidate-sibling-different-slots.html (599B)


      1 <!doctype html>
      2 <title>Invalidation works properly across siblings on different slots</title>
      3 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1794720">
      4 <link rel="match" href="invalidate-sibling-different-slots-ref.html">
      5 <style>
      6 .x { display: table-header-group; }
      7 .x + * { color: green }
      8 </style>
      9 <details open="">
     10  <summary id="a">Main summary</summary>
     11  <summary>Should be green</summary>
     12 </details>
     13 <script>
     14 onload = function() {
     15  let a = document.getElementById("a");
     16  a.getBoundingClientRect();
     17  a.setAttribute("class", "x")
     18  a.getBoundingClientRect();
     19 };
     20 </script>