summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/perspective-scrolling-1.html
blob: cab2e4f8c4249833c2faff870262f49be9e08161 (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
<!DOCTYPE html>
<html lang="en" reftest-async-scroll>
<meta charset="utf-8">
<title>Perspective scrolling</title>

<style>

html {
  height: 100%;
  overflow: hidden;
}

body {
  height: 100%;
  perspective: 1px;
  overflow: auto;
  margin: 0;
}

div {
  transform-style: preserve-3d;
  height: 4000px;
  margin: 200px 100px;
  border: 10px solid black;
}

</style>

<body reftest-displayport-x="0" reftest-displayport-y="0"
      reftest-displayport-w="800" reftest-displayport-h="2000"
      reftest-async-scroll-x="0" reftest-async-scroll-y="100">

<div></div>