layout/reftests/w3c-css/submitted/masking/mask-size-percent-percent.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-size: mask layer size</title>
    <link rel="author" title="Astley Chen" href="mailto:aschen@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-size">
    <link rel="match" href="mask-size-percent-percent-ref.html">
    <meta name="assert" content="Test checks whether sizing mask layer works correctly or not.">
    <style type="text/css">
      div {
        width: 64px;
        height: 128px;
      }

      #outer {
        border: 1px solid black;
      }

      #inner {
        background-color: purple;
        mask-image: url(support/50x50-opaque-blue.svg);
        mask-repeat: no-repeat;
        mask-size: 50% 25%;
      }
    </style>
  </head>
  <body>
    <div id="outer">
      <div id="inner"></div>
    </div>
  </body>
</html>