summaryrefslogtreecommitdiffstats
path: root/layout/reftests/layers/forced-bg-color-outside-visible-region-ref.html
blob: 8a5c68ac5e77a9ccb8f5fd0dba8fd43545f51fec (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
<!DOCTYPE html>
<meta charset="utf-8">
<title>Bug 1266161 - Reference</title>

<style type="text/css">

html, body {
  margin: 0;
}

#scrollbox {
  overflow: auto;
  height: 500px;
  width: 500px;
}

#scrolled {
  height: 1201px;
}

</style>

<div id="wrapper">

  <div id="scrollbox">

    <div id="scrolled">
    </div>

  </div>

</div>

<script>

var scrollbox = document.getElementById("scrollbox");
scrollbox.scrollTop = 80;

</script>