summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/background-attachment-fixed-border-radius-offset-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/background-attachment-fixed-border-radius-offset-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/background-attachment-fixed-border-radius-offset-ref.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/background-attachment-fixed-border-radius-offset-ref.html b/testing/web-platform/tests/css/css-backgrounds/background-attachment-fixed-border-radius-offset-ref.html
new file mode 100644
index 0000000000..b912624b50
--- /dev/null
+++ b/testing/web-platform/tests/css/css-backgrounds/background-attachment-fixed-border-radius-offset-ref.html
@@ -0,0 +1,20 @@
+<!doctype html>
+<title>background-attachment: fixed with border-radius and offset (reference)</title>
+<style>
+ .stripe-not-fixed {
+ position: absolute;
+ top: calc(8px - 128px);
+ width: 200px;
+ height: 683px;
+ background-image: url("/images/grgr-256x256.png");
+ background-position: 0px -80px;
+ background-size: 1024px 768px;
+ background-repeat: no-repeat;
+ clip-path: inset(0 0 385px 0);
+ }
+ body {
+ overflow: hidden;
+ height: 300vh;
+ }
+</style>
+<div class="stripe-not-fixed"></div>