summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1648282-1a.html
blob: 124f9b3449cd94a6b6e37450ab3b4b982abc7c51 (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
40
41
42
43
44
45
<!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>