tor-browser

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

acTL-plays-two.html (1516B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <meta charset="utf-8">
      4 <title>PNG Third Edition: animated PNG, plays</title>
      5 <link rel="author" title="Philip Taylor" href="mailto:excors@gmail.com">
      6 <link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
      7 <link rel="help" href="https://www.w3.org/TR/png-3/#apng-frame-based-animation">
      8 <link rel="help" href="https://www.w3.org/TR/png-3/#fcTL-chunk">
      9 <link rel="match" href="apng-blue-rectangle-ref.html">
     10 <meta name="assert" content="num_plays indicates the number of times that this animation should play. If nonzero, the animation should come to rest on the final frame at the end of the last play.">
     11 <script>
     12    const el = document.querySelector(".reftest-wait");
     13    setTimeout(() => {
     14        el.classList.remove('reftest-wait');
     15        }, 5000);
     16 </script>
     17 <style>
     18    .test {
     19        width: 128px;
     20        height: 64px;
     21        background-color: white;
     22        background-image:
     23        linear-gradient(45deg, #ccc 25%, transparent 25%),
     24        linear-gradient(-45deg, #ccc 25%, transparent 25%),
     25        linear-gradient(45deg, transparent 75%, #ccc 75%),
     26        linear-gradient(-45deg, transparent 75%, #ccc 75%);
     27        background-size: 16px 16px;
     28        background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
     29    }
     30 </style>
     31 <body>
     32    <p>Test passes if this flashes yellow for one second, then
     33        blue for one second, then yellow for one second, then blue forever.</p>
     34    <div class="test"><img src="support/032.png" alt=""></div>
     35 </body>