Source code

Revision control

Copy as Markdown

Other Tools

<!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>