testing/web-platform/tests/css/css-masking/mask-image/mask-origin-3-ref.html
author Cosmin Sabou <csabou@mozilla.com>
Sat, 12 Jul 2025 09:18:08 +0300 (3 hours ago)
changeset 796290 5ad1f0c58c82bdfa2f42fed870bbe143465398d0
parent 603079 447f2d492945f876ceba80ec69643b2526753a01
permissions -rw-r--r--
Revert "Bug 1977019 - re-enable hw video decoding testing. r=media-playback-reviewers,jolin" for causing win mda failures on test_hw_video_decoding.html This reverts commit 158474bdc0cf585b701bc47921f0a7d84f7bb84d.
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>CSS Masking: mask-origin: mask positioning area</title>
    <link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
    <link rel="author" title="Mozilla" href="https://www.mozilla.org">
    <style type="text/css">
      svg {
        position: absolute;
        top: 10px;
        border: 1px solid black;
      }
    </style>
  </head>
  <body>
    <svg width="200" height="200" style="left: 10px;">
      <rect x="50" y="50" width="50" height="50" fill="blue"/>
    </svg>
    <svg width="200" height="200" style="left: 240px;">
      <rect x="50" y="50" width="50" height="50" fill="green"/>
      <rect x="60" y="60" width="40" height="40" fill="blue"/>
    </svg>
    <svg width="200" height="200" style="left: 10px; top: 220px;">
      <rect x="60" y="40" width="50" height="50" fill="green"/>
      <rect x="80" y="60" width="30" height="30" fill="blue"/>
    </svg>
  </body>
</html>