summaryrefslogtreecommitdiffstats
path: root/gfx/tests/reftest/1451168.html
blob: 8a0711be44311a06c542e9340a18805612ddda89 (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
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
  <style type="text/css">
html {
    height:100%;
    margin:0;
    padding: 0;
}
body {
    height:100%;
    margin: 0;
    padding: 0;
    overflow:hidden;
    position:relative;
    left:0;
    transform:translateX(320px);
}
nav {
    display:block;
    position:absolute;
    top:0;
    left:0;
    bottom:auto;
    width:280px;
    height:100%;
    z-index:1000;
    transform:translateX(-320px);
}

.nav-menu-inner-container {
    position:relative;
    height:100%;
}

.nav-menu-scroll-pane {
    bottom:100px;
    overflow-y:scroll;
    position:absolute;
    top:0;
    width:254px
}
  </style>
</head>

<body>
<nav class="moz-global-nav-drawer">
  <div class="nav-menu-inner-container">
    <div class="nav-menu-scroll-pane">
      <div style="height: 5000px">
        Scroll here and look for the scrollbar
      </div>
    </div>
  </div>
</nav>
</body></html>