tor-browser

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

gradient-eval-010.html (760B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <title>Gradient interpolation</title>
      5  <link rel="author" title="CGQAQ" href="mailto:m.jason.liu@gmail.com">
      6  <link rel="help" href="https://www.w3.org/TR/css-color-4/#interpolation">
      7  <meta name="assert" content="Test gradient missing component resolving should happens after color-space conversion">
      8  <line rel="match" href="gradient-eval-010-ref.html">
      9  <style>
     10   .test {
     11       width: 100px;
     12       height: 100px;
     13       /* none should not resolve to 40% */
     14       /* hsl(180 50% 40%) in rgb is color(srgb 0.2 0.6 0.6) which is 60% of b component */
     15       background: linear-gradient(90deg in srgb, color(srgb 0 0 none), hsl(180 50% 40%));
     16   }
     17 </style>
     18 </head>
     19 <body>
     20  <div class="test"></div>
     21 </body>
     22 </html>