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.html27
1 files changed, 27 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 000000000..d668f3b77
--- /dev/null
+++ b/layout/reftests/async-scrolling/bg-fixed-in-opacity.html
@@ -0,0 +1,27 @@
+<!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>
+
+body {
+ margin: 0px;
+ position: relative;
+ height: 1200.23px;
+ overflow: hidden;
+}
+
+.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>