tor-browser

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

root-element-transition-opt-in-removed-on-old.html (921B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <title>View transitions: basic cross-document navigation opt-in removed</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-view-transitions-2/">
      5 <link rel="author" href="mailto:khushalsagar@chromium.org">
      6 <link rel="match" href="root-element-transition-no-opt-in-ref.html">
      7 <script src="/common/reftest-wait.js"></script>
      8 <style id="vt-style">
      9 @view-transition { navigation: auto; }
     10 </style>
     11 <style>
     12 html {
     13  background: blue;
     14 }
     15 .hidden {
     16  width: 10px;
     17  height: 10px;
     18  view-transition-name: hidden;
     19  background: green;
     20  contain: layout;
     21 }
     22 </style>
     23 <div class="hidden"></div>
     24 <script>
     25 function runTest() {
     26  document.querySelector("#vt-style").remove();
     27  const url = "resources/root-element-transition.html";
     28  window.location.replace(new URL(url, window.location));
     29 }
     30 onload = () => requestAnimationFrame(() => requestAnimationFrame(runTest));
     31 </script>
     32 </html>