tor-browser

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

mask-image-3i.html (1089B)


      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      rect {
     19        fill: purple;
     20        mask-image: url(#mask1), url(support/50x50-opaque-blue.svg);
     21        mask-repeat: no-repeat, no-repeat;
     22      }
     23    </style>
     24 
     25  </head>
     26 
     27  <body>
     28    <br>
     29    <svg width="100" height="100">
     30      <rect x="0" y="0" width="100" height="100"/>
     31    </svg>
     32  </body>
     33 </html>