summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform-3d/perspective-overflow-2.html
blob: f4eefe1572a37bef39c9b206af919df4e04457ee (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
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Transform Overflow Bug</title>
    <style>
    .container {
        width: 100px;
        height: 100px;
        overflow: scroll;
        scrollbar-width: none;
        perspective: 1px;
    }

    .inner {
        will-change: transform;
        background-color: red;
        width: 200px;
        height: 200px;
    }
    </style>
</head>

<body>
    <div class="container">
        <p class="inner"></p>
    </div>
</body>
</html>