tor-browser

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

mask-image-6.html (951B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>CSS Masking: mask on inline element</title>
      6    <link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
      7    <link rel="author" title="Mozilla" href="https://www.mozilla.org">
      8    <link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-mask-image">
      9    <link rel="match" href="mask-image-6-ref.html">
     10    <meta name="assert" content="Test checks whether mask on inline elemnt works correctly or not.">
     11    <meta name="fuzzy" content="maxDifference=0-255; totalPixels=0-70">
     12    <style type="text/css">
     13      div {
     14        width: 100px;
     15        height: 100px;
     16      }
     17      span {
     18        font-size: 100px;
     19        line-height: 100px;
     20        mask-image: url(support/transparent-100x50-blue-100x50.png);
     21        mask-position: center;
     22        mask-repeat: repeat;
     23      }
     24 
     25    </style>
     26  </head>
     27  <body>
     28    <div>
     29      <span>A B</span>
     30    </div>
     31  </body>
     32 </html>