testing/web-platform/tests/css/css-masking/clip-path/reference/clip-path-path-002-ref.html
author Emilio Cobos Álvarez <emilio@crisal.io>
Thu, 10 Jul 2025 09:08:54 +0000 (2 hours ago)
changeset 795952 1d422913e1cb1658224a2d269f8e4c9e80032d29
parent 434769 5f85f154f4e8bf1896f6fbdfe01102cdb018bbf4
permissions -rw-r--r--
Bug 1976623 - Create drag popups eagerly for now. r=tnikkel,layout-reviewers Trivially restores pre-regression behavior, for now. Differential Revision: https://phabricator.services.mozilla.com/D256769
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<!DOCTYPE html>
<html>
<head>
  <title>CSS Masking: Reference for clip-path's path function with evenodd</title>
  <style type="text/css">
    #rect {
      width: 100px;
      height: 100px;
      background-color: green;
      clip-path: url("#clip");
    }
  </style>
</head>
<body>
  <p>The test passes if there are a green hollow rect.</p>
  <div id="rect"></div>
  <svg height="0" width="0">
    <defs>
      <clipPath id="clip">
        <path clip-rule="evenodd" d="M10,10h80v80h-80zM25,25h50v50h-50z"/>
      </clipPath>
    </defs>
  </svg>
</body>
</html>