summaryrefslogtreecommitdiffstats
path: root/layout/reftests/scrolling/move-item-ref.html
blob: 613fd5c243d4b6d3ff0f39f4dbaac78bc7f0481b (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
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <style type="text/css">
      #a_box {
        overflow:auto;
        width:100px;
        height:100px;
        border:1px solid black;
      }
      #item {
        transform: translate(80px, 80px);
        width:40px;
        height:40px;
        position:relative;
        background-color:#666;
      }
    </style>
</head>
<body>
  <div id="a_box">
    <div id="item"></div>
  </div>
</script>
</body>
</html>