tor-browser

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

fcp-out-of-bounds-translate.html (795B)


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