tor-browser

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

mask-image-3b.html (1085B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>CSS Masking: mask-image: interleave SVG mask with image mask</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-3-ref.html">
     10    <meta name="assert" content="Test checks whether SVG mask and image as mask layer works correctly or not.">
     11    <meta name="fuzzy" content="0-1; 0-100">
     12    <svg height="0">
     13      <mask id="mask1" x="0" y="0" width="1" height="1" >
     14        <circle cx="50" cy="50" r="25" style="stroke:none; fill: #ffffff"/>
     15      </mask>
     16    </svg>
     17    <style type="text/css">
     18      div {
     19        background-color: purple;
     20        mask-image: url(support/50x50-opaque-blue.svg), url(#mask1);
     21        mask-repeat: no-repeat, repeat;
     22        mask-position: 0 0, 0 0;
     23        width: 100px;
     24        height: 100px;
     25      }
     26    </style>
     27 
     28  </head>
     29 
     30  <body>
     31    <div></div>
     32  </body>
     33 </html>