layout/reftests/w3c-css/submitted/masking/mask-image-3d.html
author Phil Ringnalda <philringnalda@gmail.com>
Thu, 25 Aug 2016 23:14:22 -0700
changeset 311323 8281d8ce005058c5fdc89976fa324bc43c4665ea
parent 311318 0764147ff82b2248fff2d5427913b24c1f4aafbc
child 311374 a65b35c8e5b17c2585968974aef1da67a8c56642
permissions -rw-r--r--
Backed out 4 changesets (bug 1294660) for mask-composite-2c.html failures Backed out changeset 64b92e33713c (bug 1294660) Backed out changeset 051453bf9c54 (bug 1294660) Backed out changeset 0764147ff82b (bug 1294660) Backed out changeset adfd8fb2faca (bug 1294660)

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>CSS Masking: mask-image: interleave SVG mask with image mask</title>
    <link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
    <link rel="author" title="Mozilla" href="https://www.mozilla.org">
    <link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-mask-image">
    <link rel="match" href="mask-image-3-ref.html">
    <meta name="assert" content="Test checks whether SVG mask and image as mask layer works correctly or not.">
    <svg height="0">
      <mask id="mask1" x="10%" y="10%" width="80" height="80" >
        <circle cx="50" cy="50" r="25" style="stroke:none; fill: #ffffff"/>
      </mask>
    </svg>
    <style type="text/css">
      div {
        background-color: purple;
        mask: url(#mask1), url(support/50x50-opaque-blue.svg);
        mask-repeat: no-repeat, no-repeat;
        width: 100px;
        height: 100px;
      }
    </style>

  </head>

  <body>
    <div></div>
  </body>
</html>