tor-browser

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

fcp-invisible-3d-rotate.html (696B)


      1 <!DOCTYPE html>
      2 <head>
      3 <title>Performance Paint Timing Test: FCP due to 3d rotation into view</title>
      4 <style>
      5    #main {
      6        width: 100px;
      7        height: 100px;
      8        left: 0px;
      9        transform: rotateY(90deg);
     10        position: relative;
     11        top: 0;
     12    }
     13 
     14    /* contentful class is defined in test_fcp script. */
     15    #main.contentful {
     16        transform: none;
     17    }
     18 </style>
     19 </head>
     20 <body>
     21 <script src="/resources/testharness.js"></script>
     22 <script src="/resources/testharnessreport.js"></script>
     23 <script src="../resources/utils.js"></script>
     24 <div id="main">Text</div>
     25 <script>
     26    test_fcp("First contentful paint fires due to 3d rotation into view.")
     27 </script>
     28 </body>
     29 </html>