testing/web-platform/tests/css/css-masking/clip-path/reference/clip-path-shape-control-points-ref.html
author Sotaro Ikeda <sotaro.ikeda.g@gmail.com>
Thu, 10 Jul 2025 00:10:09 +0000 (5 hours ago)
changeset 795941 23763b72c35abeead04f63e4503c28abc73d065d
parent 761325 d633e26195b4291a4a6761fd5fecda9917e432df
permissions -rw-r--r--
Bug 1976135 - Remove nightly only limitation of pref gfx.webrender.layer-compositor r=gfx-reviewers,gw Differential Revision: https://phabricator.services.mozilla.com/D256379
<!DOCTYPE html>
<html>
<head>
  <style type="text/css">
    body {
      margin: 0;
    }
    #shape {
      margin: 20px;
      width: 200px;
      height: 200px;
      background-color: green;
      clip-path: url("#clip");
    }
  </style>
</head>
<body>
  <div id="shape"></div>
  <svg height="0" width="0">
    <defs>
      <clipPath id="clip">
        <path clip-rule="nonzero" d="M0 100 C100 0 100 0 200 100 C100 200 100 200 0 100z"/>
      </clippath>
    </defs>
  </svg>
</body>
</html>