aboutsummaryrefslogtreecommitdiff
path: root/catapult/telemetry/telemetry/internal/testing/page_with_swipeables.html
blob: 8844bb912fdd8d38d6344a27e6d1a9d7f4dd1679 (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
<!DOCTYPE HTML>
<html>
<head>
<style>
.swipeable {
  overflow: scroll;
  height: 200px;
  width: 200px;
}
.left-right-item,
.top-bottom-item {
  height: 100px;
  width: 100px;
}
.left-right-item {
  display: inline-block;
}
.red-bg {
  background-color: red;
}
.blue-bg {
  background-color: blue;
}
.tall-and-wide {
  background-color: grey;
  height: 5000px;
  width: 5000px;
}
</style>
</head>
<body>

<div id="left-right" class="swipeable">
  <div style="width: 1000px;">
    <div class="left-right-item red-bg">Test</div>
    <div class="left-right-item blue-bg">Test</div>
    <div class="left-right-item red-bg">Test</div>
    <div class="left-right-item blue-bg">Test</div>
  </div>
</div>

<div id="top-bottom" class="swipeable">
  <div class="top-bottom-item red-bg">Test</div>
  <div class="top-bottom-item blue-bg">Test</div>
  <div class="top-bottom-item red-bg">Test</div>
  <div class="top-bottom-item blue-bg">Test</div>
</div>

<div class="tall-and-wide"></div>

<div id="off-screen"></div>
</body>
</html>