tor-browser

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

gradient-powerless-hue-oklch-ref.html (1192B)


      1 <!doctype html>
      2 <html lang="en">
      3 <head>
      4    <meta charset="utf-8">
      5    <title>Gradient powerless hue component converting tests - hwb</title>
      6    <link rel="author" title="CGQAQ" href="mailto:m.jason.liu@gmail.com">
      7    <link rel="help" href="https://www.w3.org/TR/css-color-4/#interpolation">
      8    <style>
      9       .test {
     10            display: flex;
     11            align-items: center;
     12            width: 200px;
     13            height: 50px;
     14            position: relative;
     15            border: 1px solid black;
     16            margin: 10px;
     17 
     18            /* Expected */
     19            background-image: linear-gradient(to right in oklch, red, oklch(86.64396175234369% 0.295 142.4953450414439 / 0) );
     20        }
     21 
     22        .info {
     23            position: absolute;
     24            right: -10px;
     25            transform: translateX(100%);
     26        }
     27    </style>
     28 </head>
     29 <p>They should be the same as the first box.</p>
     30 <ol>
     31  <li class="test"><div class="info">oklch() Expected</div></li>
     32  <li class="test"><div class="info">hwb()</div></li>
     33  <li class="test"><div class="info">rgba()</div></li>
     34  <li class="test"><div class="info">hsl()</div></li>
     35  <li class="test"><div class="info">color()</div></li>
     36 </ol>
     37 </html>