tor-browser

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

gradient-analogous-missing-components-004.html (1698B)


      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    <link rel="match" href="gradient-analogous-missing-components-004-ref.html">
     11    <style>
     12        div {
     13            display: flex;
     14            align-items: center;
     15            width: 200px;
     16            height: 50px;
     17            background: red;
     18        }
     19        .test1 {
     20            background: linear-gradient(to right in oklab, rgb(none 255 0), rgb(255, 0, 0) );
     21        }
     22        .test2 {
     23            background: linear-gradient(to right in oklab, rgb(none 255 0), rgb(255 none 0) );
     24        }
     25        .test3 {
     26            background: linear-gradient(to right, rgb(none 255 0), rgb(255 none 0) );
     27        }
     28        .test4 {
     29            background: linear-gradient(to right, rgb(none 255 0), rgb(255, 0, 0) );
     30        }
     31        .test5 {
     32            background: linear-gradient(to right in oklab, rgb(0 255 0), rgb(255 0 0) );
     33        }
     34    </style>
     35 </head>
     36 <body>
     37    <p>The background of all boxes should use the oklab color space, with a gradient from lime to red.</p>
     38    <div class="test1">rgb() contains none</div>
     39    <div class="test2">rgb() contains none</div>
     40    <div class="test3">rgb() contains none</div>
     41    <div class="test4">rgb() contains none</div>
     42    <div class="test5">rgb() contains none</div>
     43 </body>
     44 </html>