tor-browser

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

mask-image-4b.html (960B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>CSS Masking: mask-image: unresovlable mask url</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="/css/reference/blank.html">
     10    <meta name="assert" content="Test checks a mask reference to a none-mask SVG element should be counted as an image layer of transparent black.">
     11    <svg height="0">
     12      <clipPath id="clip1">
     13        <circle cx="50" cy="50" r="25"/>
     14      </clipPath>
     15    </svg>
     16    <style type="text/css">
     17      div {
     18        background-color: purple;
     19        width: 100px;
     20        height: 100px;
     21      }
     22 
     23      div.mask-by-reference {
     24        mask-image: url(#clip1);
     25      }
     26    </style>
     27  </head>
     28  <body>
     29    <div class="mask-by-reference"></div>
     30  </body>
     31 </html>