blob: 686e5bc6e4fa5b5eda1ff080c72e67b1180da2ef (
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>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/. -->
<html reftest-async-scroll>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<style>
* {
margin: 0px;
padding: 0px;
}
.scrolled {
height: 400px;
opacity: 0.9;
background: linear-gradient(white, green);
will-change: transform;
}
.body {
width: 500px;
height: 200px;
overflow: hidden scroll;
background-color: red;
}
</style>
<title>Bug 1648282</title>
</head>
<body>
<div class="body" reftest-async-scroll-x="0" reftest-async-scroll-y="50">
<div class="scrolled">
</div>
</div>
</body>
</html>
|