summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/offscreen-clipped-blendmode-1.html
blob: 64795e5cfd9d28bab0638b109e5e6eb8b92c6e10 (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
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html lang="en"
     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="1200">
<meta charset="utf-8">
<title>Scrolled blend mode</title>

<style>

body {
  margin: 0;
  padding: 100px;
  height: 4000px;
  background: white;
}

#outer {
  height: 4000px;
  overflow: hidden;
}

#inner-contents {
  border: 1px solid black;
  box-sizing: border-box;
  width: 50px;
  height: 50px;
  mix-blend-mode: multiply;
  margin-top: 1400px;
}

</style>

<div id="outer">
  <div id="inner">
    <div id="inner-contents"></div>
  </div>
</div>