Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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);
}
.body {
width: 500px;
height: 200px;
overflow: hidden scroll;
background-color: red;
}
.pixel {
position: absolute;
width: 1px;
height: 1px;
}
</style>
<title>Bug 1648282</title>
</head>
<body>
<div class="body" reftest-async-scroll-x="0" reftest-async-scroll-y="50">
<div class="scrolled">
<div class="pixel" style="visibility: hidden;"></div>
</div>
</div>
</body>
</html>