summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/bg-fixed-in-opacity.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/async-scrolling/bg-fixed-in-opacity.html')
-rw-r--r--layout/reftests/async-scrolling/bg-fixed-in-opacity.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/layout/reftests/async-scrolling/bg-fixed-in-opacity.html b/layout/reftests/async-scrolling/bg-fixed-in-opacity.html
new file mode 100644
index 0000000000..e565487c7c
--- /dev/null
+++ b/layout/reftests/async-scrolling/bg-fixed-in-opacity.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html reftest-async-scroll
+ reftest-displayport-x="0" reftest-displayport-y="0"
+ reftest-displayport-w="800" reftest-displayport-h="2000"
+ reftest-async-scroll-x="0" reftest-async-scroll-y="50.23">
+<style>
+
+html {
+ scrollbar-width: none;
+}
+
+body {
+ margin: 0px;
+ position: relative;
+ height: 1200.23px;
+}
+
+.fixed-background {
+ position: absolute;
+ top: 0px;
+ bottom: 0px;
+ width: 100px;
+ background: linear-gradient(blue, blue) no-repeat fixed 0px 200px;
+ background-size: 100px 100px;
+ opacity: 0.5;
+}
+
+</style>
+<div style="overflow: hidden;" class="fixed-background"></div>
+</html>