diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/css-backgrounds/background-attachment-fixed-border-radius-offset.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/background-attachment-fixed-border-radius-offset.html')
-rw-r--r-- | testing/web-platform/tests/css/css-backgrounds/background-attachment-fixed-border-radius-offset.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/background-attachment-fixed-border-radius-offset.html b/testing/web-platform/tests/css/css-backgrounds/background-attachment-fixed-border-radius-offset.html new file mode 100644 index 0000000000..5d92bcb56a --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-attachment-fixed-border-radius-offset.html @@ -0,0 +1,25 @@ +<!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> |