testing/web-platform/tests/css/css-masking/clip-path/animations/clip-path-animation-overflow.html
author Duncan McIntosh <dmcintosh@mozilla.com>
Wed, 09 Jul 2025 19:42:02 +0000 (2 hours ago)
changeset 795924 9ccc6a2267cbf69c621fec973bd28573c2a45a1f
parent 684236 6030ecd268ad1a53715434323cb5f49c083ea0d2
permissions -rw-r--r--
Bug 1966586 - Reuse other browser windows when opening _blank links in Taskbar Tabs windows. r=nrishel This doesn't affect other tab additions, nor does it stop the tab bar from appearing altogether. The idea is that _if_ another tab is somehow made, the user should see it; but we should not create new tabs if we can avoid it. This also adds tests for opening URIs in popups and taskbar tabs to make it less likely that this breaks in future. Differential Revision: https://phabricator.services.mozilla.com/D253726
<!DOCTYPE html>
<html class="reftest-wait">
<link rel="help" href="https://drafts.csswg.org/css-shapes-1/#basic-shape-interpolation">
<link rel="match" href="clip-path-animation-overflow-ref.html">
<meta name=fuzzy content="0-255;0-800">
<style>
.container {
  width: 200px;
  height: 200px;
  background-color: green;
  border: 20px solid black;
  animation: clippath 20s steps(2, jump-end) -9.999s;
}
@keyframes clippath {
  0%   { clip-path: circle(130px at 130px 130px); }
  100% { clip-path: circle(110px at 110px 110px); }
}
</style>
<script src="/common/reftest-wait.js"></script>
<script src="../../../../web-animations/resources/timing-utils.js"></script>
<body>
<div class="container"><div class="container"></div></div>

<script>
  waitForAnimationTime(document.getAnimations()[0], 1).then(takeScreenshot);
</script>
</body>
</html>