testing/web-platform/tests/css/css-backgrounds/background-attachment-fixed-border-radius-offset.html
author Duncan McIntosh <dmcintosh@mozilla.com>
Wed, 09 Jul 2025 19:42:02 +0000 (6 hours ago)
changeset 795924 9ccc6a2267cbf69c621fec973bd28573c2a45a1f
parent 664625 388e6712e07a165472c01e3f6663000041c9cc4b
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>
<title>background-attachment: fixed with border-radius and offset</title>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#background-attachment">
<link rel="help" href="https://crbug.com/1439780">
<link rel="match" href="background-attachment-fixed-border-radius-offset-ref.html">
<style>
  .stripe {
    position: absolute;
    top: calc(8px - 128px);
    width: 200px;
    height: 683px;
    background-image: url("/images/grgr-256x256.png");
    background-position: 0px -200px;
    background-size: 1024px 768px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-radius: 1px 0 0 0;
    clip-path: inset(0 0 385px 0);
  }
  body {
    overflow: hidden;
    height: 300vh;
  }
</style>
<div class="stripe"></div>