summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/bg-fixed-in-opacity.html
blob: e565487c7c8cb78c4111fa6ba1fa1c4f0a7429a6 (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
28
29
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>