tor-browser

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

gradient-analogous-missing-components-004-ref.html (1127B)


      1 <!doctype html>
      2 <html lang="en">
      3 <head>
      4    <meta charset="utf-8">
      5    <title>Gradient analogous missing components carry forward logic tests</title>
      6    <link rel="author" title="CGQAQ" href="mailto:m.jason.liu@gmail.com">
      7    <link rel="author" title="一丝" href="mailto:yiorsi@gmail.com">
      8    <link rel="help" href="https://www.w3.org/TR/css-color-4/#interpolation">
      9    <meta name="assert" content="Tests that analogous missing components logic works.">
     10    <style>
     11        div {
     12            display: flex;
     13            align-items: center;
     14            width: 200px;
     15            height: 50px;
     16            /* lime to red  */
     17            background: linear-gradient(to right in oklab, rgb(0, 255, 0), rgb(255, 0, 0));
     18        }
     19    </style>
     20 </head>
     21 <body>
     22    <p>The background of all boxes should use the oklab color space, with a gradient from lime to red.</p>
     23    <div class="test1">rgb() contains none</div>
     24    <div class="test2">rgb() contains none</div>
     25    <div class="test3">rgb() contains none</div>
     26    <div class="test4">rgb() contains none</div>
     27    <div class="test5">rgb() contains none</div>
     28 </body>
     29 </html>