summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/bg-fixed-in-opacity.html
blob: d668f3b7760db4be1b0f02397cf598af8a8fe64c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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>